跳转到主要内容
GET
/
jobs
/
{id}
任务 - 获取
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"
    }
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

id
string
必填

任务标识符

示例:

"12345"

响应

200 - application/json

任务状态获取成功

state
string
必填

任务状态

示例:

"completed"

result
object
必填

任务结果

示例:
{
"success": true,
"data": { "message": "Job completed successfully" }
}