Przejdź do głównej zawartości

Pobierz szczegóły uruchomienia skryptu

GET
/api/v3/runs/{id}
curl --request GET \
--url https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v3/runs/1 \
--header 'Authorization: Bearer <token>'
id
wymagane
integer format: int64

Id of the run.

Success

Response that describes run.

object
id

Id of the run.

integer format: int64
scriptId

Id of the script.

integer format: int64
nullable
scriptName

Name of the script.

string
nullable
createdAt

Date and time when run was created.

string format: date-time
finishedAt

Date and time when run has finished.

string format: date-time
nullable
startedAt

Date and time when run has finished.

string format: date-time
nullable
executionTime

Duration time of the run.

number format: double
state

State of the run.

string
nullable
parameters

Parameters of the run. They will be passed to the script in object with name data.

object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties