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

授权

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" }
}