Viewing current deployments On the bosh director
Viewing current deployments on the bosh director
This will show a list of all managed (tile/broker) and unmanaged (user) deployments present on the director.
Note: This value is extremely expensive to fetch and is hence cached (subject to change).
Request
URI
GET
https://{opsmanager-installation}/api/v0/deployed/director/deployments
COPY
Responses
200
OK
Returns
Deployments
of type(s)
application/json
{
"deployments": [
{
"name": "string",
"team": "string",
"product_guid": "string",
"product_name": "string",
"managed_by": "string"
}
]
}
array of
deployments
deployments
Optional
deployments
400
Setup is not completed
Returns
RequireSetupCompleted
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
401
Unauthorized
Returns
UnauthorizedResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
403
Forbidden
Returns
ForbiddenResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
404
Product not found
Returns
RequiresProduct
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/deployed/director/deployments
Deployments Operations
GET
Viewing current deployments On the bosh director