OkayAPI Docs
API Params
Parameter | Type | Required | Default | Note | Description |
---|---|---|---|---|---|
HTTP_APPKEY | String | Required | MIN: 32 | Common Put Your APPKEY | |
uuid | String | Required | MIN: 32;MAX: 32 | UUID,全局唯一用户ID | |
token | String | Required | MIN: 64;MAX: 64 | 会话凭证 | |
ext_info | ArrayJSON Format | Required | 待更新的用户扩展信息,需要JSON编码后传递。格式:ext_info={"扩展字段名":"值"},可以同时更新多个字段。JSON在线解析及格式化验证 |
API Debug
KEY | REQUIRED | VALUE |
---|---|---|
app_key | *Required | |
uuid | *Required | |
token | *Required | |
ext_info | *Required |
API Response
KEY | Type | Description |
---|---|---|
err_code | Int | 操作码,0更新成功,1用户不存在,或者已被封号 |
err_msg | String | 错误提示信息,err_code非0时参考此提示信息 |
ext_info | Object | 成功更新后的用户扩展信息,以便核对 |
HTTP Response Code
HTTP Status Code | Description |
---|---|
Http Status = 200 | Success |
Http Status = 400 | Illegal-Params |
Http Status = 401 | Illegal-Token |
Http Status = 402 | IP-Banned |
Http Status = 404 | API-NOT-Exsits |
Http Status = 406 | Illegal-APPKEY |
Http Status = 407 | APPKEY-Expired-Out |
Http Status = 408 | APPKEY-Busy |
Http Status = 409 | Illegal-Sign |
Http Status = 413 | API-Traffic-NOT-Enough |
Http Status = 415 | API-LOCKED |
Http Status = 500 | Internal-Server-Error |