Get a revision by ID for a deployment.
Successful Response
Revision resource.
The ID of the revision.
This is a read-only field.
The creation time of the revision.
This is a read-only field.
The last update time of the revision.
This is a read-only field.
The status of the revision.
This is a read-only field.
CREATING, QUEUED, AWAITING_BUILD, BUILDING, AWAITING_DEPLOY, DEPLOYING, CREATE_FAILED, BUILD_FAILED, DEPLOY_FAILED, DEPLOYED, SKIPPED, INTERRUPTED, UNKNOWN Deploy from a GitHub repository (github) or a Docker image (external_docker).
Deploying from GitHub is only available for Cloud SaaS deployments. Deploying from a Docker image is only available for self-hosted deployments. This cannot be changed once the deployment is created.
github, external_docker Source revision configuration.
For a Deployment resource, the field values refer to the latest revision of the Deployment. For a Revision resource, the field values refer to the Revision itself.