Interface Specification
| Header Parameter | Description | Type |
|---|---|---|
| Content-Type | application/json;charset=UTF-8 | String |
| Sign | The encrypted signature, see sign signature rules | String |
| Timestamp | The current system timestamp (in seconds) | String |
| Api-Key | API authentication name (Account Management – App Management -appId properties) | String |
Example headers:
{ "Content-Type":"application/json;charset=UTF-8", "Sign":"05d7a50893e22a5c4bb3216ae3396c7c", "Timestamp":"1630468800", "Api-Key":"bDqJFiq9" }
| Parameters | Description | Type |
|---|---|---|
| status | Response result status code. 0 indicates success, others indicate failure. | String |
| reason | Description of the failure reason. | String |
Success Example:
{
"status":"0",
"reason":"success"
}
Failure Example:
{ "status":"-16", "reason":"timestamp expires" }
Generate Signature: API Key+API Secret + Timestamp(second) into string with 32 bit MD5 format.(Case Insensitive).
Example:
API authentication name: bDqJFiq9
API authentication secret key: 7bz1lzh9
Timestamp current system timestamp (in seconds): 1630468800
MD5(bDqJFiq97bz1lzh91630468800): 05d7a50893e22a5c4bb3216ae3396c7c