跳转到主要内容
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"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

任务标识符

Example:

"12345"

Response

200 - application/json

任务状态获取成功

state
string
required

任务状态

Example:

"completed"

result
object
required

任务结果

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