@fuyb1986
2016-03-23T04:19:26.000000Z
字数 694
阅读 727
好热闹
| Method | Resource URL |
|---|---|
| GET | /qa/${username}/${page}/answers/ |
No applicable
$ curl http://www.haorenao.cn/qa/18012345678/1/answers/
| Name | Description |
|---|---|
| ret | 标识是否成功。ok, 成功; failed, 失败 |
| reason | 失败原因 |
| questions | 问题列表 |
| id | 问题 ID |
| title | 问题标题 |
Anaswer
| Name | Description |
|---|---|
| content | 答案的前 60 个字符 |
| vote_count | 赞数 |
| create_time | 回答时间 |
| answer_type | 答案类型 |
| answer_type_display | 答案类型的中文显示 |
| id | 答案 ID |
{"ret": "ok","reason": "","questions": [{"id": 1316,"title": u"问题的标题","answers": [{"content": u"答案内容的前60个字符...","vote_count": 15,"create_time": "2016-03-07 19:49:45","answer_type": 0,"answer_type_display": u'付费',"id": 4215}...],}, ...]}
