通过任务 ID 获取当前状态和结果
cURL
curl --request GET \ --url https://api.dex.chainstream.io/v2/job/{id} \ --header 'Authorization: Bearer <token>'
{ "state": "completed", "result": { "success": true, "data": { "message": "Job completed successfully" } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
任务标识符
"12345"
成功获取任务状态
任务状态
"completed"
任务结果
{ "success": true, "data": { "message": "Job completed successfully" }}
此页面对您有帮助吗?