We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Welcome to the Codo-API wiki!
Please visit README
所有 API 无论成功与否,均返回 JSON 格式以及 200 OK 的响应码,至少会包含 ret 返回值告知事件情况和 msg 详细描述。
ret
msg
对于 token 有效的请求,每次响应都会附带当前用户状态,例如下面的例子。
{ "ret": 0, "msg": "ok.", "user": { "id": 63, "expiry_time": 10, "username": "terry", "token": "e691b41e76d76c1a98bb963ff63659" } }