List deploys for a deployment
List the deploys of a Deployment, with each deploy’s type, status, image tag, Dag bundle version, Astro Runtime and Airflow versions, git metadata, and who made it.
GET
/
organizations
/
{organizationId}
/
deployments
/
{deploymentId}
/
deploys
Error
A valid request URL is required to generate request examples{
"deploys": [
{
"createdAt": "2022-11-22T04:37:12Z",
"deploymentId": "clmh57jtm000008lb58fe2wmv",
"id": "clvetru2w000201mowqwua63n",
"imageRepository": "https://my-image-repository",
"imageTag": "my-image-tag",
"isDagDeployEnabled": true,
"status": "DEPLOYED",
"type": "IMAGE_AND_DAG",
"airflowVersion": "2.7.2, if airflow version is not found, it will return NA",
"astroRuntimeVersion": "9.1.0",
"bundleId": "clvetru2w000201mowqwua63n",
"bundleMountPath": "<string>",
"bundleUploadUrl": "<string>",
"bundles": [
{
"bundleType": "<string>",
"deployId": "<string>",
"isDagBundle": true,
"mountPath": "<string>",
"type": "DEPLOY",
"currentVersion": "<string>",
"desiredVersion": "<string>",
"name": "finance"
}
],
"createdBySubject": {
"id": "clm8qv74h000008mlf08scq7k",
"apiTokenName": "my-token",
"avatarUrl": "https://avatar.url",
"fullName": "Jane Doe",
"subjectType": "USER",
"username": "user1@company.com"
},
"dagTarballVersion": "2024-01-12T18:32:20.5898930Z",
"dagsUploadUrl": "https://astroproddagdeploy.windows.core.net/clmh59gt0000308lbgswe5fvh/clmh57jtm000008lb58fe2wmv",
"description": "My deploy description",
"git": {
"commitSha": "abc123def456",
"provider": "GITHUB",
"account": "astronomer",
"authorName": "Astronomer Bot",
"authorUrl": "https://github.com/astronomer-bot",
"authorUsername": "astronomer-bot",
"beforeCommitSha": "def456abc123",
"branch": "main",
"commitUrl": "https://github.com/astronomer/astro-cli/commit/abc123def456",
"path": "dags/",
"remoteUrl": "git@gitlab.com:team/project.git",
"repo": "astro-cli"
},
"rollbackFromId": "clvcz1lrq000101oitxtp276e",
"updatedAt": "2022-11-22T04:37:12Z",
"updatedBySubject": {
"id": "clm8qv74h000008mlf08scq7k",
"apiTokenName": "my-token",
"avatarUrl": "https://avatar.url",
"fullName": "Jane Doe",
"subjectType": "USER",
"username": "user1@company.com"
}
}
],
"limit": 123,
"offset": 123,
"totalCount": 123
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Path Parameters
Query Parameters
Was this page helpful?
⌘I
Error
A valid request URL is required to generate request examples{
"deploys": [
{
"createdAt": "2022-11-22T04:37:12Z",
"deploymentId": "clmh57jtm000008lb58fe2wmv",
"id": "clvetru2w000201mowqwua63n",
"imageRepository": "https://my-image-repository",
"imageTag": "my-image-tag",
"isDagDeployEnabled": true,
"status": "DEPLOYED",
"type": "IMAGE_AND_DAG",
"airflowVersion": "2.7.2, if airflow version is not found, it will return NA",
"astroRuntimeVersion": "9.1.0",
"bundleId": "clvetru2w000201mowqwua63n",
"bundleMountPath": "<string>",
"bundleUploadUrl": "<string>",
"bundles": [
{
"bundleType": "<string>",
"deployId": "<string>",
"isDagBundle": true,
"mountPath": "<string>",
"type": "DEPLOY",
"currentVersion": "<string>",
"desiredVersion": "<string>",
"name": "finance"
}
],
"createdBySubject": {
"id": "clm8qv74h000008mlf08scq7k",
"apiTokenName": "my-token",
"avatarUrl": "https://avatar.url",
"fullName": "Jane Doe",
"subjectType": "USER",
"username": "user1@company.com"
},
"dagTarballVersion": "2024-01-12T18:32:20.5898930Z",
"dagsUploadUrl": "https://astroproddagdeploy.windows.core.net/clmh59gt0000308lbgswe5fvh/clmh57jtm000008lb58fe2wmv",
"description": "My deploy description",
"git": {
"commitSha": "abc123def456",
"provider": "GITHUB",
"account": "astronomer",
"authorName": "Astronomer Bot",
"authorUrl": "https://github.com/astronomer-bot",
"authorUsername": "astronomer-bot",
"beforeCommitSha": "def456abc123",
"branch": "main",
"commitUrl": "https://github.com/astronomer/astro-cli/commit/abc123def456",
"path": "dags/",
"remoteUrl": "git@gitlab.com:team/project.git",
"repo": "astro-cli"
},
"rollbackFromId": "clvcz1lrq000101oitxtp276e",
"updatedAt": "2022-11-22T04:37:12Z",
"updatedBySubject": {
"id": "clm8qv74h000008mlf08scq7k",
"apiTokenName": "my-token",
"avatarUrl": "https://avatar.url",
"fullName": "Jane Doe",
"subjectType": "USER",
"username": "user1@company.com"
}
}
],
"limit": 123,
"offset": 123,
"totalCount": 123
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"message": "<string>",
"requestId": "<string>",
"statusCode": 500,
"fieldErrors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}