简体中文
通过任务ID获取当前任务状态和结果
cURL
curl --request GET \ --url https://api-dex.chainstream.io/jobs/{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" }}
此页面对您有帮助吗?