List deploys

GET {{baseUrl}}/services/:serviceId/deploys?createdBefore=<dateTime>&createdAfter=<dateTime>&updatedBefore=<dateTime>&updatedAfter=<dateTime>&finishedBefore=<dateTime>&finishedAfter=<dateTime>&cursor=<string>&limit=20

Request Params

KeyDatatypeRequiredDescription
createdBeforestringFilter for deploys created before a certain time (specified as an ISO 8601 timestamp)
createdAfterstringFilter for deploys created after a certain time (specified as an ISO 8601 timestamp)
updatedBeforestringFilter for deploys updated before a certain time (specified as an ISO 8601 timestamp)
updatedAfterstringFilter for deploys updated after a certain time (specified as an ISO 8601 timestamp)
finishedBeforestringFilter for deploys finished before a certain time (specified as an ISO 8601 timestamp)
finishedAfterstringFilter for deploys finished after a certain time (specified as an ISO 8601 timestamp)
cursorstringCursor to begin retrieving entries for this query
limitnumberMax number of items that can be returned

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;deploy&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;commit&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;},&quot;image&quot;:{&quot;ref&quot;:&quot;\u003cstring\u003e&quot;,&quot;sha&quot;:&quot;\u003cstring\u003e&quot;,&quot;registryCredential&quot;:&quot;\u003cstring\u003e&quot;},&quot;status&quot;:&quot;live&quot;,&quot;trigger&quot;:&quot;rollback&quot;,&quot;finishedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;},{&quot;deploy&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;commit&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;},&quot;image&quot;:{&quot;ref&quot;:&quot;\u003cstring\u003e&quot;,&quot;sha&quot;:&quot;\u003cstring\u003e&quot;,&quot;registryCredential&quot;:&quot;\u003cstring\u003e&quot;},&quot;status&quot;:&quot;deactivated&quot;,&quot;trigger&quot;:&quot;new_commit&quot;,&quot;finishedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;}]