Reply to topic

November 26, 2015 · View on GitHub

HTTP request address

http://api.example.com/reply

Menthod

POST

Parameters

KeyValue TypeDescriptionObligatoryDefault value
API Authentication parameter
User Authentication parameter
TopicIDint0
ContentStringnull

HTTP Response

Success:

{
	"Status": 1,
	"TopicID": 12,
	"PostID": 450,
	"Page": 1 /* Total page of this topic. */
}

Fail:

{
	"Status": 0,
	"ErrorCode": 102001,
	"ErrorMessage": "Content empty. "
}

Error Code

Error CodeError Message
102001Content empty.
102002Content is too long