Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.41 KB

File metadata and controls

35 lines (28 loc) · 1.41 KB

English | 中文

Request Common Standard Header Introduction

Field Name Type Required Description
trace Trace string Yes Unique identifier generated by the requester, ensuring consistency between the request and response, with a maximum length of 64 characters
data Data object Yes Specific data format defined in each interface
{
    "trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
    "data": {
    }
}

Response Common Standard Header Introduction

Field Name Type Description
ret Result int32 Error Code Description
msg Message string Detailed description of success or failure
trace Trace string Unique identifier generated by the requester, ensuring consistency between the request and response, with a maximum length of 64 characters
data Data object Specific data format defined in each interface
{
    "ret": 202,
    "msg": "request data param invalid",
    "trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
    "data": {}
}