解封任務額度查詢
更新時間 2023-09-25 15:39:35
最近更新時間: 2023-09-25 15:39:35
分享文章
接口描述:調用本接口查詢解封任務額度
請求方式:get
請求路徑:/allow-task/query-allow-task-quota
使用說明: 單個用戶一分鐘限制調用10000次,并發不超過100
請求參數說明(json):
無
返回參數說明:
| 參數 | 類型 | 是否必傳 | 名稱及描述 |
|---|---|---|---|
| code | int | 是 | 狀態碼 |
| message | string | 是 | 描述信息 |
| result | dict | 否 | 返回結果 |
| result.max | int | 否 | 每日屏蔽最大條數 |
| result.used | int | 否 | 每日屏蔽已使用條數 |
| result.surplus | int | 否 | 每日屏蔽剩余條數 |
| result.single_commit_max | int | 否 | 每次提交屏蔽最大條數 |
示例:
請求路徑: //cdnapi-global.ctapi.daliqc.cn/allow-task/query-allow-task-quota
請求參數:
無
響應結果:
{
"code": 100000,
"message": "success",
"result": {
"surplus": 4999,
"max": 5000,
"used": 1,
"single_commit_max": 200
}
}
錯誤碼請參考:參數code和message含義