Signature Authentication
Request Authorization
- Method:
server.sign
- Parameters:
Parameter Name | Required | Type | Notes |
---|---|---|---|
access_id | true | string | API access id |
signed_str | true | string | Signature string |
timestamp | true | int | Timestamp (millisecond) |
- Example:
// Authorization
{
"method": "server.sign",
"params": {
"access_id": "ABCDEFGHIJK1234567890",
"signed_str": "1234567890abcdefghijk",
"timestamp": 1234567890123
},
"id": 1
}
Authorization Response
- Example:
// success
{
"id": 1,
"code": 0,
"message": "OK"
}
// fail
{
"id": 1,
"code": 21002,
"message": ""
}