Get Deployment Resources

Retrieves all deployment resources of a given deployment.

Method

GET /deployment/{id}/resources

Parameters

Path Parameters

Name Description
id The id of the deployment to retrieve the deployment resources for.

Result

A JSON array containing all deployment resources of the given deployment. Each object has the following properties:

Name Value Description
id String The id of the deployment resource.
name String The name of the deployment resource.
deploymentId String The id of the deployment.

Response Codes

Code Media type Description
200 application/json Request successful.
404 application/json Deployment resources for the given deployment do not exist. See the Introduction for the error response format.

Example

Request

GET /deployment/anDeploymentId/resources

Response

[
  {
    "id": "anResourceId",
    "name": "anResourceName",
    "deploymentId": "anDeploymentId"
  },
  {
    "id": "anotherResourceId",
    "name": "anotherResourceName",
    "deploymentId": "anDeploymentId"
  }
]

On this Page: