Get deployment

getDeployment(input: GetDeploymentInput!): Deployment

Requires project.deployments.read.

Arguments

ArgumentTypeRequired
inputGetDeploymentInput!Yes

Input fields

input

GetDeploymentInput

FieldTypeRequired
idID!Yes

Response

Returns Deployment. Open the type for its fields and nested types.

FieldTypeDescription
idID!
releaseIdID!
environmentIdID!
userIdID
createdAtDateTime
updatedAtDateTime
releaseReleaseThe deployed release, when the producing operation hydrates it.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query GetDeployment($input: GetDeploymentInput!) {  getDeployment(input: $input) {    id    createdAt    updatedAt    environmentId    releaseId  }}
variables.json
{  "input": {    "id": "00000000-0000-4000-8000-000000000001"  }}