Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 451 Bytes

overview.md

File metadata and controls

29 lines (22 loc) · 451 Bytes

Overview

All data is sent and received as JSON.

Success Response

HTTP/1.1 200 OK
{
    code: 0,
    message: "Success",
    data: {
        <响应数据>
    }
}

Error Response

HTTP/1.1 200 OK
{
    code: <错误码>,
    message: <错误描述>,
    data: {}
}

General Code & Message

1000: "Internal Server Error"
1100: "Bad Request"
1101: "Unauthorized"