Skip to content

Get Target Run by Target Run ID
Stable

Request

Security
SCAPIAuthToken
Path
stage_run_idstringrequired

Stage run Id

target_run_idstringrequired

Id of the Target Run

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/pipelines/v0/stageruns/{stage_run_id}/targetruns/{target_run_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Get target run

Bodyapplication/json
codeinteger
messagestring
contentobject(TargetRun)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9", "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940", "device_alias": "b9501264-0205-428a-90ba-d6369c3e3315", "stage_run_id": "c6c7d692-4cdb-4e1f-9d55-db374c0d6d91", "stage_run_operation_id": "a9c0e333-8eab-4d53-af82-630cdcc11428", "command_id": "string", "command_status": "string", "command_meta": {}, "status": "pending", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "started_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z" } }