Request Protocol | HTTPS |
Character Encoding | UTF-8 |
Common Request Headers | Description |
Authorization | Used to pass the access token for the API. Please refer to Authentication Methods. |
Content-Type | |
Content-Type | application/json |
Character Encoding | UTF-8 |
Common Response Body
Parameter | Type | Description |
code | int | Error code. 0 means success, non-zero means failure, Please refer to Error Codes. |
msg | string | Error description. When there is a failure, a specific error description will be provided. |
req_id | string | Log tracking ID. When encountering problems that require assistance from OrionStar, please provide this tracking ID value. |
data | object | Business data object, see below for details Response Body Data Object. |
Response Body Data Object
Common Response Body Example
{
"code": 0,
"msg": "",
"req_id": "test_req_id",
"data": {
// Different APIs will have different response body data objects, please refer to the specific API documentation
}
}