-
Notifications
You must be signed in to change notification settings - Fork 0
Search API
Kang Chen edited this page Dec 19, 2015
·
1 revision
-
POST
index.php?controller=search
Query String Parameter Type Description s string Required. The search keyword
Response:
{ "statusCode": 200, "statusText": "OK", "response": { "comments": [{ "id": "11", "ip": "192.168.1.54", "uid": null, "uname": "anonymous2", "post_content": "hello 22", "time": "1450496003", "reply_content": null, "reply_time": null, "b_username": null }, { "id": "10", "ip": "210.78.137.46", "uid": null, "uname": "anonymous1", "post_content": "hello", "time": "1450495995", "reply_content": null, "reply_time": null, "b_username": null }], "total": 2 } }
Or:
{ "statusCode": 404, "statusText": "Not Found", "response": { "comments": [], "total": 0 } }