Deployment

An Object

Note

Drop in one of our language drivers to accelerate your development.
Here are links to some of our popular Cookbooks to help you get started!

Parent

This Deployment is contained within a Platform.

Properties

The following properties are available:

Property Type Default Read-Only Description
_doc string No The primary ID
_system object No Metadata maintained by the system

Methods

Analyze Deployment

POST /deployments/{deploymentId}/analyze

Parameters (1)

Parameters

Name Required Type Description
deploymentId Yes string

Handlers Deployment

GET /deployment/handlers

No parameters

Parameters

This function has no parameters.

Lists Deployment

Retrieves a list of Deployment instances

GET /deployments

Parameters (3), response

Parameters

Name Required Type Description
sort No object Defines how to sort fields in the result set
skip No number Skips the result set cursor ahead the specified number of records
limit No number Specifies the number of records to be handed back in the result set
This method supports pagination.

Response

{
  "type": "object",
  "description": "Result Map",
  "properties": {
    "total_rows": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    },
    "size": {
      "type": "number"
    },
    "rows": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/resultmap_deployment"
      }
    }
  }
}

Queries for Deployment

Queries for instances of type Deployment

POST /deployments/query

Parameters (3), response

Parameters

Name Required Type Description
sort No object Defines how to sort fields in the result set
skip No number Skips the result set cursor ahead the specified number of records
limit No number Specifies the number of records to be handed back in the result set
This method supports pagination.

Response

{
  "type": "object",
  "description": "Result Map",
  "properties": {
    "total_rows": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    },
    "size": {
      "type": "number"
    },
    "rows": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/resultmap_deployment"
      }
    }
  }
}

Read Deployment

Reads an instance of a Deployment

GET /deployments/{deploymentId}

Parameters (1), response

Parameters

Name Required Type Description
deploymentId Yes string

Response

{
  "type": "object",
  "extends": "document",
  "description": "Deployment",
  "container": "platform",
  "properties": {
    "_doc": null,
    "_system": null
  }
}

Read Handler

GET /deployment/handlers/{type}

Parameters (1)

Parameters

Name Required Type Description
type Yes string

Retry Deployment

POST /deployments/{deploymentId}/retry

Parameters (1)

Parameters

Name Required Type Description
deploymentId Yes string

Schema


{
  "type": "object",
  "extends": "document",
  "description": "Deployment",
  "container": "platform",
  "properties": {
    "_doc": null,
    "_system": null
  },
  "id": "deployment"
}