Skip to main content
GET
/
deployment
/
count
Get List Count
curl --request GET \
  --url http://{host}:{port}/{contextPath}/deployment/count \
  --header 'Authorization: Basic <encoded-value>'
{
  "count": 1
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

id
string

Filter by deployment id

name
string

Filter by the deployment name. Exact match.

nameLike
string

Filter by the deployment name that the parameter is a substring of. The parameter can include the wildcard % to express like-strategy such as: starts with (%name), ends with (name%) or contains (%name%).

source
string

Filter by the deployment source.

withoutSource
boolean
default:false

Filter by the deployment source whereby source is equal to null.

tenantIdIn
string

Filter by a comma-separated list of tenant ids. A deployment must have one of the given tenant ids.

withoutTenantId
boolean
default:false

Only include deployments which belong to no tenant. Value may only be true, as false is the default behavior.

includeDeploymentsWithoutTenantId
boolean
default:false

Include deployments which belong to no tenant. Can be used in combination with tenantIdIn. Value may only be true, as false is the default behavior.

after
string<date-time>

Restricts to all deployments after the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.

before
string<date-time>

Restricts to all deployments before the given date. By default, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.

Response

Request successful.

count
integer

The number of matching instances.