Przejdź do głównej zawartości

Pobierz zakończone uruchomienia

GET
/api/v1/runs/ended
curl --request GET \
--url 'https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v1/runs/ended?offset=0&limit=100' \
--header 'Authorization: Bearer <token>'

Zwraca uruchomienia zakończone poprawnie oraz zatrzymane wymuszenie.

offset
integer format: int32
0

Number of runs to skip.

limit
integer format: int32
default: 100

Number of runs to take.

Success

object
list
Array<object>
nullable

Response that describes run.

object
id

Id of the run.

integer format: int64
scriptId

Id of the script.

integer format: int64
nullable
createdAt

Date and time when run was created.

string format: date-time
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
pageNumber
integer format: int32
total
integer format: int32