v1

latestOpenAPI 3.1.02026-07-2631411.5 MB
Hosting - Deployments

Count deployments

Count deployments for an app or worker

post/hosting/deployments/count

Request body

appUuidstring uuid

Identifier of the app whose deployments to count.

workerUuidstring uuid

Identifier of the worker whose deployments to count.

userUuidstring uuid

Restrict to deployments created by this user.

statusesstring[]

Deployment statuses to include.

createdAfterstring

Include deployments created after this ISO timestamp.

createdBeforestring

Include deployments created before this ISO timestamp.

Response

Successful response

countinteger required

Number of deployments matching the filters.