Download OpenAPI specification:Download
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "plan": "FREE",
- "website_url": "string",
- "repository": "string",
- "logo_url": "string",
- "icon_url": "string",
- "admin_emails": [
- "string"
], - "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "organization_plan": {
- "plan": "FREE",
- "audit_logs_retention_in_days": 0
}
}
]
}
name required | string name is case insensitive |
description | string or null |
plan required | string (PlanEnum) Enum: "FREE" "TEAM" "TEAM_YEARLY" "ENTERPRISE" "ENTERPRISE_YEARLY" "PROFESSIONAL" "BUSINESS" BUSINESS & PROFESSIONAL are deprecated |
website_url | string or null |
repository | string or null |
logo_url | string or null |
icon_url | string or null |
admin_emails | Array of strings or null |
{- "name": "string",
- "description": "string",
- "plan": "FREE",
- "website_url": "string",
- "repository": "string",
- "logo_url": "string",
- "icon_url": "string",
- "admin_emails": [
- "string"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "plan": "FREE",
- "website_url": "string",
- "repository": "string",
- "logo_url": "string",
- "icon_url": "string",
- "admin_emails": [
- "string"
], - "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "organization_plan": {
- "plan": "FREE",
- "audit_logs_retention_in_days": 0
}
}
organizationId required | string <uuid> Organization ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "plan": "FREE",
- "website_url": "string",
- "repository": "string",
- "logo_url": "string",
- "icon_url": "string",
- "admin_emails": [
- "string"
], - "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "organization_plan": {
- "plan": "FREE",
- "audit_logs_retention_in_days": 0
}
}
To edit an organization you must have the admin permission
organizationId required | string <uuid> Organization ID |
name required | string name is case insensitive |
description | string |
website_url | string or null |
repository | string or null |
logo_url | string or null |
icon_url | string or null |
admin_emails | Array of strings or null |
{- "name": "string",
- "description": "string",
- "website_url": "string",
- "repository": "string",
- "logo_url": "string",
- "icon_url": "string",
- "admin_emails": [
- "string"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "plan": "FREE",
- "website_url": "string",
- "repository": "string",
- "logo_url": "string",
- "icon_url": "string",
- "admin_emails": [
- "string"
], - "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "organization_plan": {
- "plan": "FREE",
- "audit_logs_retention_in_days": 0
}
}
List organization available roles
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}
List organization git tokens
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "BITBUCKET",
- "expired_at": "2019-08-24",
- "workspace": "string",
- "associated_services_count": 0
}
]
}
Create a new git token to be used as a git provider by a service
organizationId required | string <uuid> Organization ID |
name required | string |
description | string |
type required | string (GitProviderEnum) Enum: "BITBUCKET" "GITHUB" "GITLAB" |
token required | string The token from your git provider side |
workspace | string Mandatory only for BITBUCKET git provider, to allow us to fetch repositories at creation/edition of a service |
{- "name": "string",
- "description": "string",
- "type": "BITBUCKET",
- "token": "string",
- "workspace": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "BITBUCKET",
- "expired_at": "2019-08-24",
- "workspace": "string",
- "associated_services_count": 0
}
Get organization git token
organizationId required | string <uuid> Organization ID |
gitTokenId required | string <uuid> Git Token ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "BITBUCKET",
- "expired_at": "2019-08-24",
- "workspace": "string",
- "associated_services_count": 0
}
organizationId required | string <uuid> Organization ID |
gitTokenId required | string <uuid> Git Token ID |
name required | string |
description | string |
type required | string (GitProviderEnum) Enum: "BITBUCKET" "GITHUB" "GITLAB" |
token required | string The token from your git provider side |
workspace | string Mandatory only for BITBUCKET git provider, to allow us to fetch repositories at creation/edition of a service |
{- "name": "string",
- "description": "string",
- "type": "BITBUCKET",
- "token": "string",
- "workspace": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "BITBUCKET",
- "expired_at": "2019-08-24",
- "workspace": "string",
- "associated_services_count": 0
}
Get organization git tokens associated services
organizationId required | string <uuid> Organization ID |
gitTokenId required | string <uuid> Git Token ID |
{- "results": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "environment_name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION"
}
]
}
Get organization container registry associated services
organizationId required | string |
containerRegistryId required | string |
{- "results": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "environment_name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "CONTAINER"
}
]
}
Get organization helm repository associated services
organizationId required | string |
helmRepositoryId required | string |
{- "results": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "environment_name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "HELM"
}
]
}
List organization api tokens
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "role_name": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
]
}
Create an organization api token. You can use the generated token to interact in a programmatic way with our API.
organizationId required | string <uuid> Organization ID |
name required | string |
description | string |
scope | string or null (OrganizationApiTokenScope) Value: "ADMIN" deprecated |
role_id required | string or null <uuid> the roleId provided by the "List organization custom roles" endpoint. |
{- "name": "string",
- "description": "string",
- "scope": "ADMIN",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "token": "string",
- "role_name": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
organizationId required | string <uuid> Organization ID |
gitTokenId | string <uuid> The git token id that must be used for the application |
{- "results": [
- {
- "id": "string",
- "name": "simple-node-app",
- "default_branch": "master",
- "is_private": true
}
]
}
organizationId required | string <uuid> Organization ID |
name | string The name of the repository where to retrieve the branches |
gitTokenId | string <uuid> The git token id that must be used for the application |
{- "results": [
- {
- "name": "main"
}
]
}
organizationId required | string <uuid> Organization ID |
gitTokenId | string <uuid> The git token id that must be used for the application |
{- "results": [
- {
- "id": "string",
- "name": "simple-node-app",
- "default_branch": "master",
- "is_private": true
}
]
}
organizationId required | string <uuid> Organization ID |
name | string The name of the repository to retrieve the branches |
gitTokenId | string <uuid> The git token id that must be used for the application |
{- "results": [
- {
- "name": "main"
}
]
}
organizationId required | string <uuid> Organization ID |
gitTokenId | string <uuid> The git token id that must be used for the application |
{- "results": [
- {
- "id": "string",
- "name": "simple-node-app",
- "default_branch": "master",
- "is_private": true
}
]
}
organizationId required | string <uuid> Organization ID |
name | string The name of the repository where to retrieve the branches |
gitTokenId | string <uuid> The git token id that must be used for the application |
{- "results": [
- {
- "name": "main"
}
]
}
List organization webhooks
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "kind": "STANDARD",
- "target_url": "string",
- "target_secret_set": true,
- "description": "string",
- "enabled": true,
- "events": [
- "DEPLOYMENT_STARTED"
], - "project_names_filter": [
- "string"
], - "environment_types_filter": [
- "PRODUCTION"
]
}
]
}
Create an organization webhook.
organizationId required | string <uuid> Organization ID |
kind required | string (OrganizationWebhookKindEnum) Enum: "STANDARD" "SLACK" Define the type of the webhook. |
target_url required | string Set the public HTTP or HTTPS endpoint that will receive the specified events.
The target URL must starts with |
target_secret | string Make sure you receive a payload to sign the Qovery request with your secret.
Qovery will add a HTTP header |
description | string |
enabled | boolean Turn on or off your endpoint. |
events required | Array of strings (OrganizationWebhookEventEnum) Items Enum: "DEPLOYMENT_STARTED" "DEPLOYMENT_CANCELLED" "DEPLOYMENT_FAILURE" "DEPLOYMENT_SUCCESSFUL" |
project_names_filter | Array of strings Specify the project names you want to filter to.
This webhook will be triggered only if the event is coming from the specified Project IDs.
Notes: 1. Wildcard is accepted E.g. |
environment_types_filter | Array of strings (EnvironmentModeEnum) Items Enum: "DEVELOPMENT" "PREVIEW" "PRODUCTION" "STAGING" Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode. |
{- "kind": "STANDARD",
- "target_url": "string",
- "target_secret": "string",
- "description": "string",
- "enabled": true,
- "events": [
- "DEPLOYMENT_STARTED"
], - "project_names_filter": [
- "string"
], - "environment_types_filter": [
- "PRODUCTION"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "kind": "STANDARD",
- "target_url": "string",
- "target_secret_set": true,
- "description": "string",
- "enabled": true,
- "events": [
- "DEPLOYMENT_STARTED"
], - "project_names_filter": [
- "string"
], - "environment_types_filter": [
- "PRODUCTION"
]
}
Get an Organization webhook
organizationId required | string <uuid> Organization ID |
webhookId required | string <uuid> Webhook ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "kind": "STANDARD",
- "target_url": "string",
- "target_secret_set": true,
- "description": "string",
- "enabled": true,
- "events": [
- "DEPLOYMENT_STARTED"
], - "project_names_filter": [
- "string"
], - "environment_types_filter": [
- "PRODUCTION"
]
}
Edit an organization webhook
organizationId required | string <uuid> Organization ID |
webhookId required | string <uuid> Webhook ID |
kind required | string (OrganizationWebhookKindEnum) Enum: "STANDARD" "SLACK" Define the type of the webhook. |
target_url required | string Set the public HTTP or HTTPS endpoint that will receive the specified events.
The target URL must starts with |
target_secret | string Make sure you receive a payload to sign the Qovery request with your secret.
Qovery will add a HTTP header |
description | string |
enabled | boolean Turn on or off your endpoint. |
events required | Array of strings (OrganizationWebhookEventEnum) Items Enum: "DEPLOYMENT_STARTED" "DEPLOYMENT_CANCELLED" "DEPLOYMENT_FAILURE" "DEPLOYMENT_SUCCESSFUL" |
project_names_filter | Array of strings Specify the project names you want to filter to.
This webhook will be triggered only if the event is coming from the specified Project IDs.
Notes: 1. Wildcard is accepted E.g. |
environment_types_filter | Array of strings (EnvironmentModeEnum) Items Enum: "DEVELOPMENT" "PREVIEW" "PRODUCTION" "STAGING" Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode. |
{- "kind": "STANDARD",
- "target_url": "string",
- "target_secret": "string",
- "description": "string",
- "enabled": true,
- "events": [
- "DEPLOYMENT_STARTED"
], - "project_names_filter": [
- "string"
], - "environment_types_filter": [
- "PRODUCTION"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "kind": "STANDARD",
- "target_url": "string",
- "target_secret_set": true,
- "description": "string",
- "enabled": true,
- "events": [
- "DEPLOYMENT_STARTED"
], - "project_names_filter": [
- "string"
], - "environment_types_filter": [
- "PRODUCTION"
]
}
List organization custom roles
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cluster_permissions": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "permission": "VIEWER"
}
], - "project_permissions": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "is_admin": false,
- "permissions": [
- {
- "environment_type": "PRODUCTION",
- "permission": "NO_ACCESS"
}
]
}
]
}
]
}
Create an organization custom role
organizationId required | string <uuid> Organization ID |
name required | string |
description | string |
{- "name": "string",
- "description": "string"
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "cluster_permissions": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "permission": "VIEWER"
}
], - "project_permissions": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "is_admin": false,
- "permissions": [
- {
- "environment_type": "PRODUCTION",
- "permission": "NO_ACCESS"
}
]
}
]
}
Get an organization custom role
organizationId required | string <uuid> Organization ID |
customRoleId required | string <uuid> Custom Role ID |
{- "id": "string",
- "name": "string",
- "description": "string",
- "cluster_permissions": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "permission": "VIEWER"
}
], - "project_permissions": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "is_admin": false,
- "permissions": [
- {
- "environment_type": "PRODUCTION",
- "permission": "NO_ACCESS"
}
]
}
]
}
Edit an organization custom role
organizationId required | string <uuid> Organization ID |
customRoleId required | string <uuid> Custom Role ID |
name required | string |
description | string |
required | Array of objects Should contain an entry for every existing cluster |
required | Array of objects Should contain an entry for every existing project |
{- "name": "string",
- "description": "string",
- "cluster_permissions": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "permission": "VIEWER"
}
], - "project_permissions": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "is_admin": false,
- "permissions": [
- {
- "environment_type": "PRODUCTION",
- "permission": "NO_ACCESS"
}
]
}
]
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "cluster_permissions": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "permission": "VIEWER"
}
], - "project_permissions": [
- {
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "is_admin": false,
- "permissions": [
- {
- "environment_type": "PRODUCTION",
- "permission": "NO_ACCESS"
}
]
}
]
}
Get all events inside the organization
organizationId required | string <uuid> Organization ID |
pageSize | number or null Default: 10 The number of events to display in the current page |
fromTimestamp | string or null Display events triggered since this timestamp. |
toTimestamp | string or null Display events triggered before this timestamp. |
continueToken | string Token used to fetch the next page results The format is a timestamp with nano precision |
stepBackToken | string Token used to fetch the previous page results The format is a timestamp with nano precision |
eventType | string (OrganizationEventType) Enum: "CREATE" "UPDATE" "DELETE" "ACCEPT" "EXPORT" "TRIGGER_DEPLOY" "TRIGGER_REDEPLOY" "TRIGGER_STOP" "TRIGGER_CANCEL" "TRIGGER_RESTART" "TRIGGER_DELETE" "SHELL" "PORT_FORWARD" "CLONE" "DEPLOYED" "STOPPED" "DELETED" "RESTARTED" "DEPLOY_FAILED" "STOP_FAILED" "DELETE_FAILED" "RESTART_FAILED" Example: eventType=CREATE Type of the organization event |
targetType | string (OrganizationEventTargetType) Enum: "APPLICATION" "CLUSTER" "CONTAINER" "CONTAINER_REGISTRY" "DATABASE" "ENVIRONMENT" "JOB" "HELM" "MEMBERS_AND_ROLES" "ORGANIZATION" "PROJECT" "WEBHOOK" Example: targetType=APPLICATION Type of the organization event |
targetId | string or null <uuid> The target resource id to search. |
subTargetType | string or null (OrganizationEventSubTargetType) Enum: "ADVANCED_SETTINGS" "API_TOKEN" "BILLING_INFO" "CLOUD_PROVIDER_CREDENTIALS" "CLUSTER_CREDENTIALS" "CLUSTER_ROUTING_TABLE" "CONFIG" "CREDIT_CARD" "CREDIT_CODE" "CUSTOM_DOMAIN" "CUSTOM_ROLE" "DEPLOYMENT_RULE" "DEPLOYMENT_STAGE" "GITHUB_APP" "GIT_REPOSITORY" "GIT_TOKEN" "INVITATION" "MEMBER_ROLE" "PLAN" "SECRET" "TERRAFORM" "TRANSFER_OWNERSHIP" "VARIABLE" Example: subTargetType=ADVANCED_SETTINGS Type of the organization event |
triggeredBy | string Information about the owner of the event (user name / apitoken / automatic action) |
origin | string (OrganizationEventOrigin) Enum: "API" "CLI" "CONSOLE" "GIT" "QOVERY_INTERNAL" "TERRAFORM_PROVIDER" Example: origin=API Origin of the organization event |
{- "organization_max_limit_reached": true,
- "events": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "event_type": "CREATE",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "target_name": "string",
- "target_type": "APPLICATION",
- "sub_target_type": "ADVANCED_SETTINGS",
- "change": "string",
- "origin": "API",
- "triggered_by": "string",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "environment_name": "string",
- "user_agent": "string"
}
]
}
Get available event targets to filter events
organizationId required | string <uuid> Organization ID |
fromTimestamp | string or null Display targets available since this timestamp. |
toTimestamp | string or null Display targets triggered before this timestamp. |
eventType | string (OrganizationEventType) Enum: "CREATE" "UPDATE" "DELETE" "ACCEPT" "EXPORT" "TRIGGER_DEPLOY" "TRIGGER_REDEPLOY" "TRIGGER_STOP" "TRIGGER_CANCEL" "TRIGGER_RESTART" "TRIGGER_DELETE" "SHELL" "PORT_FORWARD" "CLONE" "DEPLOYED" "STOPPED" "DELETED" "RESTARTED" "DEPLOY_FAILED" "STOP_FAILED" "DELETE_FAILED" "RESTART_FAILED" Example: eventType=CREATE Type of the organization event |
targetType | string (OrganizationEventTargetType) Enum: "APPLICATION" "CLUSTER" "CONTAINER" "CONTAINER_REGISTRY" "DATABASE" "ENVIRONMENT" "JOB" "HELM" "MEMBERS_AND_ROLES" "ORGANIZATION" "PROJECT" "WEBHOOK" Example: targetType=APPLICATION Type of the organization event |
triggeredBy | string Information about the owner of the event (user name / apitoken / automatic action) |
origin | string (OrganizationEventOrigin) Enum: "API" "CLI" "CONSOLE" "GIT" "QOVERY_INTERNAL" "TERRAFORM_PROVIDER" Example: origin=API Origin of the organization event |
projectId | string <uuid> Mandatory when requesting an environment or a service |
environmentId | string <uuid> Mandatory when requesting a service |
{- "targets": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}
List organization annotations group
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
], - "associated_items_count": 0
}
]
}
Create an organization annotations group
organizationId required | string <uuid> Organization ID |
name required | string name of the annotations group |
required | Array of objects (Annotation) |
scopes required | Array of strings (OrganizationAnnotationsGroupScopeEnum) Items Enum: "DEPLOYMENTS" "STATEFUL_SETS" "SERVICES" "INGRESS" "HPA" "PODS" "SECRETS" "JOBS" "CRON_JOBS" |
{- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
Get organization annotations group
organizationId required | string <uuid> Organization ID |
annotationsGroupId required | string <uuid> Organization annotations group ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
Edit organization annotations group
organizationId required | string <uuid> Organization ID |
annotationsGroupId required | string <uuid> Organization annotations group ID |
name required | string name of the annotations group |
required | Array of objects (Annotation) |
scopes required | Array of strings (OrganizationAnnotationsGroupScopeEnum) Items Enum: "DEPLOYMENTS" "STATEFUL_SETS" "SERVICES" "INGRESS" "HPA" "PODS" "SECRETS" "JOBS" "CRON_JOBS" |
{- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
Get organization annotations group associated items
organizationId required | string <uuid> Organization ID |
annotationsGroupId required | string <uuid> Organization annotations group ID |
{- "results": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "environment_name": "string",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "item_name": "string",
- "item_type": "APPLICATION"
}
]
}
List organization labels group
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
], - "associated_items_count": 0
}
]
}
Create an organization labels group
organizationId required | string <uuid> Organization ID |
name required | string name of the labels group |
required | Array of objects (Label) |
{- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
Get organization labels group
organizationId required | string <uuid> Organization ID |
labelsGroupId required | string <uuid> Organization labels group ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
Edit organization labels group
organizationId required | string <uuid> Organization ID |
labelsGroupId required | string <uuid> Organization labels group ID |
name required | string name of the labels group |
required | Array of objects (Label) |
{- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
Get organization labels group associated items
organizationId required | string <uuid> Organization ID |
labelsGroupId required | string <uuid> Organization labels group ID |
{- "results": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
- "project_name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",
- "environment_name": "string",
- "item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
- "item_name": "string",
- "item_type": "APPLICATION"
}
]
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string name is case insensitive |
description | string |
{- "name": "string",
- "description": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
Returns a list of project ids, and for each its total numberof services and environments
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "service_total_number": 0,
- "environment_total_number": 0
}
]
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "nickname": "string",
- "last_activity_at": "2019-08-24T14:15:22Z",
- "role": "ADMIN",
- "role_name": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
]
}
Edit an organization member role
organizationId required | string <uuid> Organization ID |
user_id required | string specify the git provider user id |
role_id required | string <uuid> |
{- "user_id": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "ADMIN",
- "invitation_status": "EXPIRED",
- "organization_name": "string",
- "inviter": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "role_name": "string"
}
]
}
organizationId required | string <uuid> Organization ID |
email required | string |
role | string (InviteMemberRoleEnum) Enum: "ADMIN" "DEVELOPER" "OWNER" "VIEWER" deprecated |
role_id | string <uuid> the target role to attribute to the new member |
{- "email": "string",
- "role": "ADMIN",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "ADMIN",
- "invitation_status": "EXPIRED",
- "organization_name": "string",
- "inviter": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "role_name": "string"
}
organizationId required | string <uuid> Organization ID |
inviteId required | string <uuid> Invite ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "ADMIN",
- "invitation_status": "EXPIRED",
- "organization_name": "string",
- "inviter": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "role_name": "string"
}
organizationId required | string <uuid> Organization ID |
inviteId required | string <uuid> Invite ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "ADMIN",
- "invitation_status": "EXPIRED",
- "organization_name": "string",
- "inviter": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "role_name": "string"
}
organizationId required | string <uuid> Organization ID |
user_id required | string <uuid> |
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
organizationId required | string <uuid> Organization ID |
{- "plan": "FREE",
- "remaining_trial_day": 0,
- "renewal_at": "2019-08-24T14:15:22Z",
- "cost": {
- "total_in_cents": 30000,
- "total": 300,
- "currency_code": "USD"
}
}
organizationId required | string <uuid> Organization ID |
plan | string |
{- "plan": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "plan": "FREE",
- "website_url": "string",
- "repository": "string",
- "logo_url": "string",
- "icon_url": "string",
- "admin_emails": [
- "string"
], - "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "organization_plan": {
- "plan": "FREE",
- "audit_logs_retention_in_days": 0
}
}
Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment. But Qovery guarantees that the cost of your cluster will not exceed the max range.
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "min_cost_in_cents": 15000,
- "min_cost": 150,
- "max_cost_in_cents": 30000,
- "max_cost": 300,
- "currency_code": "USD"
}
organizationId required | string <uuid> Organization ID |
{- "first_name": "Forrest",
- "last_name": "Gump",
- "address": "21 Jenny Street",
- "city": "Greenbow",
- "zip": "36744",
- "state": "Alabama",
- "country_code": "US",
- "company": "string",
- "vat_number": "string"
}
organizationId required | string <uuid> Organization ID |
first_name required | string |
last_name required | string |
email required | string <email> email used for billing, and to receive all invoices by email |
address required | string |
city required | string |
zip required | string |
state | string only for US |
country_code required | string ISO code of the country |
company | string name of the company to bill |
vat_number | string |
{- "first_name": "Forrest",
- "last_name": "Gump",
- "address": "21 Jenny Street",
- "city": "Greenbow",
- "zip": "36744",
- "state": "Alabama",
- "country_code": "US",
- "company": "string",
- "vat_number": "string"
}
{- "first_name": "Forrest",
- "last_name": "Gump",
- "address": "21 Jenny Street",
- "city": "Greenbow",
- "zip": "36744",
- "state": "Alabama",
- "country_code": "US",
- "company": "string",
- "vat_number": "string"
}
This endpoint returns a "is_valid" boolean field reflecting the billing status of the organization:
organizationId required | string <uuid> Organization ID |
{- "is_valid": true,
- "message": "string"
}
organizationId required | string <uuid> Organization ID |
from required | string <date-time> The start date of the report |
to required | string <date-time> The end date of the report |
report_expiration_in_seconds required | integer The number of seconds the report will be publicly available |
{- "from": "2020-01-01T00:00:00.000Z",
- "to": "2020-01-31T23:59:59.000Z",
- "report_expiration_in_seconds": 3600
}
{- "report_url": "string",
- "delete_report_url": "string"
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "total_in_cents": 30000,
- "total": 300,
- "currency_code": "USD",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "status": "NOT_PAID"
}
]
}
organizationId required | string <uuid> Organization ID |
invoiceId required | string <uuid> Invoice ID |
{- "total_in_cents": 30000,
- "total": 300,
- "currency_code": "USD",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "status": "NOT_PAID"
}
This will return URL of the invoice PDF
organizationId required | string <uuid> Organization ID |
invoiceId required | string <uuid> Invoice ID |
{- "url": "string",
- "internal_port": 0,
- "external_port": 0,
- "is_qovery_domain": true,
- "is_default": true
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "expiry_month": 6,
- "expiry_year": 2025,
- "last_digit": "7890",
- "is_expired": true,
- "brand": "string"
}
]
}
organizationId required | string <uuid> Organization ID |
number required | string |
cvv required | string |
expiry_month required | integer |
expiry_year required | integer |
{- "number": "string",
- "cvv": "string",
- "expiry_month": 6,
- "expiry_year": 2025
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "expiry_month": 6,
- "expiry_year": 2025,
- "last_digit": "7890",
- "is_expired": true,
- "brand": "string"
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "region": "string",
- "cloud_provider": "AWS",
- "min_running_nodes": 1,
- "max_running_nodes": 1,
- "disk_size": 50,
- "instance_type": "T3A_LARGE",
- "kubernetes": "K3S",
- "cpu": 10000,
- "memory": 4096,
- "estimated_cloud_provider_cost": 0,
- "status": "BUILDING",
- "has_access": true,
- "version": "string",
- "is_default": true,
- "is_demo": true,
- "production": true,
- "ssh_keys": [
- "string"
], - "features": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "cost_per_month_in_cents": 9900,
- "cost_per_month": 99,
- "currency_code": "USD",
- "is_cloud_provider_paying_feature": true,
- "is_qovery_paying_feature": true,
- "value_type": "BOOLEAN",
- "value_object": {
- "type": "STRING",
- "value": "string"
}, - "is_value_updatable": false,
- "accepted_values": [
- "string"
]
}
], - "deployment_status": "NEVER_DEPLOYED"
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string name is case-insensitive |
description | string |
region required | string |
cloud_provider required | string (CloudProviderEnum) Enum: "AWS" "SCW" "GCP" "ON_PREMISE" |
object (ClusterCloudProviderInfoRequest) | |
min_running_nodes | integer Default: 1 |
max_running_nodes | integer Default: 1 |
disk_size | integer Default: 40 Unit is in GB. The disk size to be used for the node configuration |
instance_type | string the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType |
kubernetes | string (KubernetesEnum) Default: "MANAGED" Enum: "K3S" "MANAGED" "SELF_MANAGED" |
production | boolean specific flag to indicate that this cluster is a production one |
ssh_keys | Array of strings Indicate your public ssh_key to remotely connect to your EC2 instance. |
Array of objects |
{- "name": "string",
- "description": "string",
- "region": "string",
- "cloud_provider": "AWS",
- "cloud_provider_credentials": {
- "cloud_provider": "AWS",
- "credentials": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "region": "string"
}, - "min_running_nodes": 1,
- "max_running_nodes": 1,
- "disk_size": 50,
- "instance_type": "T3A_LARGE",
- "kubernetes": "K3S",
- "production": true,
- "ssh_keys": [
- "string"
], - "features": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "value": "string"
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "region": "string",
- "cloud_provider": "AWS",
- "min_running_nodes": 1,
- "max_running_nodes": 1,
- "disk_size": 50,
- "instance_type": "T3A_LARGE",
- "kubernetes": "K3S",
- "cpu": 10000,
- "memory": 4096,
- "estimated_cloud_provider_cost": 0,
- "status": "BUILDING",
- "has_access": true,
- "version": "string",
- "is_default": true,
- "is_demo": true,
- "production": true,
- "ssh_keys": [
- "string"
], - "features": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "cost_per_month_in_cents": 9900,
- "cost_per_month": 99,
- "currency_code": "USD",
- "is_cloud_provider_paying_feature": true,
- "is_qovery_paying_feature": true,
- "value_type": "BOOLEAN",
- "value_object": {
- "type": "STRING",
- "value": "string"
}, - "is_value_updatable": false,
- "accepted_values": [
- "string"
]
}
], - "deployment_status": "NEVER_DEPLOYED"
}
Returns a list of clusters with only their id and status.
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "status": "BUILDING",
- "is_deployed": true,
- "next_k8s_available_version": "1.28",
- "last_execution_id": "f73e3833-922a-48a5-9dbd-6163f43f9143-1656410242"
}
]
}
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
deleteMode | string (ClusterDeleteMode) Default: "DEFAULT" Enum: "DEFAULT" "DELETE_CLUSTER_AND_QOVERY_CONFIG" "DELETE_QOVERY_CONFIG" Example: deleteMode=DEFAULT Indicates the mode to apply on cluster deletion
|
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
name required | string name is case-insensitive |
description | string |
region required | string |
cloud_provider required | string (CloudProviderEnum) Enum: "AWS" "SCW" "GCP" "ON_PREMISE" |
object (ClusterCloudProviderInfoRequest) | |
min_running_nodes | integer Default: 1 |
max_running_nodes | integer Default: 1 |
disk_size | integer Default: 40 Unit is in GB. The disk size to be used for the node configuration |
instance_type | string the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType |
kubernetes | string (KubernetesEnum) Default: "MANAGED" Enum: "K3S" "MANAGED" "SELF_MANAGED" |
production | boolean specific flag to indicate that this cluster is a production one |
ssh_keys | Array of strings Indicate your public ssh_key to remotely connect to your EC2 instance. |
Array of objects |
{- "name": "string",
- "description": "string",
- "region": "string",
- "cloud_provider": "AWS",
- "cloud_provider_credentials": {
- "cloud_provider": "AWS",
- "credentials": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "region": "string"
}, - "min_running_nodes": 1,
- "max_running_nodes": 1,
- "disk_size": 50,
- "instance_type": "T3A_LARGE",
- "kubernetes": "K3S",
- "production": true,
- "ssh_keys": [
- "string"
], - "features": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "value": "string"
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "region": "string",
- "cloud_provider": "AWS",
- "min_running_nodes": 1,
- "max_running_nodes": 1,
- "disk_size": 50,
- "instance_type": "T3A_LARGE",
- "kubernetes": "K3S",
- "cpu": 10000,
- "memory": 4096,
- "estimated_cloud_provider_cost": 0,
- "status": "BUILDING",
- "has_access": true,
- "version": "string",
- "is_default": true,
- "is_demo": true,
- "production": true,
- "ssh_keys": [
- "string"
], - "features": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "cost_per_month_in_cents": 9900,
- "cost_per_month": 99,
- "currency_code": "USD",
- "is_cloud_provider_paying_feature": true,
- "is_qovery_paying_feature": true,
- "value_type": "BOOLEAN",
- "value_object": {
- "type": "STRING",
- "value": "string"
}, - "is_value_updatable": false,
- "accepted_values": [
- "string"
]
}
], - "deployment_status": "NEVER_DEPLOYED"
}
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "status": "BUILDING",
- "is_deployed": true,
- "next_k8s_available_version": "1.28",
- "last_execution_id": "f73e3833-922a-48a5-9dbd-6163f43f9143-1656410242"
}
Get the list and values of the advanced settings of the cluster. Default values for each setting are available in our documentation
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "aws.cloudwatch.eks_logs_retention_days": 0,
- "aws.vpc.enable_s3_flow_logs": true,
- "aws.vpc.flow_logs_retention_days": 0,
- "loki.log_retention_in_week": 0,
- "registry.image_retention_time": 0,
- "cloud_provider.container_registry.tags": {
- "property1": "string",
- "property2": "string"
}, - "aws.eks.enable_alb_controller": true,
- "load_balancer.size": "string",
- "database.postgresql.deny_any_access": true,
- "database.postgresql.allowed_cidrs": [
- "string"
], - "database.mysql.deny_any_access": true,
- "database.mysql.allowed_cidrs": [
- "string"
], - "database.mongodb.deny_any_access": true,
- "database.mongodb.allowed_cidrs": [
- "string"
], - "database.redis.deny_any_access": true,
- "database.redis.allowed_cidrs": [
- "string"
], - "aws.iam.admin_group": "string",
- "aws.eks.ec2.metadata_imds": "optional",
- "pleco.resources_ttl": 0,
- "registry.mirroring_mode": "Cluster",
- "nginx.vcpu.request_in_milli_cpu": 0,
- "nginx.vcpu.limit_in_milli_cpu": 0,
- "nginx.memory.request_in_mib": 0,
- "nginx.memory.limit_in_mib": 0,
- "nginx.hpa.cpu_utilization_percentage_threshold": 0,
- "nginx.hpa.min_number_instances": 0,
- "nginx.hpa.max_number_instances": 0,
- "storageclass.fast_ssd": "string",
- "qovery.static_ip_mode": true,
- "k8s.api.allowed_public_access_cidrs": [
- "string"
]
}
Edit advanced settings by returning table of advanced settings.
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
aws.cloudwatch.eks_logs_retention_days | integer Set the number of retention days for EKS Cloudwatch logs |
aws.vpc.enable_s3_flow_logs | boolean Enable flow logs for on the VPC and store them in an S3 bucket |
aws.vpc.flow_logs_retention_days | integer Set the number of retention days for flow logs. Disable with value "0" |
loki.log_retention_in_week | integer For how long in week loki is going to keep logs of your applications |
registry.image_retention_time | integer Configure the number of seconds before cleaning images in the registry |
object Add additional tags on the cluster dedicated registry | |
aws.eks.enable_alb_controller | boolean Default: true Enable the AWS ALB controller to manage the load balancer for the cluster. Note: Changing this feature will create a 10 min max downtime on your application's public access (time to delete, replace and propagate DNS of the new load balancer) and will requiere to update all services with TCP/UDP open ports. |
load_balancer.size | string Select the size of the main load_balancer (only effective for Scaleway) |
database.postgresql.deny_any_access | boolean Deny public access to any PostgreSQL database |
database.postgresql.allowed_cidrs | Array of strings List of CIDRs allowed to access the PostgreSQL database |
database.mysql.deny_any_access | boolean Deny public access to any MySql database |
database.mysql.allowed_cidrs | Array of strings List of CIDRs allowed to access the MySql database |
database.mongodb.deny_any_access | boolean Deny public access to any MongoDB/DocumentDB database |
database.mongodb.allowed_cidrs | Array of strings List of CIDRs allowed to access the MongoDB/DocumentDB database |
database.redis.deny_any_access | boolean Deny public access to any Redis database |
database.redis.allowed_cidrs | Array of strings List of CIDRs allowed to access the Redis database |
aws.iam.admin_group | string AWS IAM group name with cluster access |
aws.eks.ec2.metadata_imds | string Enum: "optional" "required" Specify the IMDS version you want to use:
|
pleco.resources_ttl | integer Deprecated |
registry.mirroring_mode | string (RegistryMirroringModeEnum) Default: "Service" Enum: "Cluster" "Service" Mirroring mode when deploying a service from a container registry
|
nginx.vcpu.request_in_milli_cpu | integer vcpu request in millicores |
nginx.vcpu.limit_in_milli_cpu | integer vcpu limit in millicores |
nginx.memory.request_in_mib | integer memory request in MiB |
nginx.memory.limit_in_mib | integer memory limit in MiB |
nginx.hpa.cpu_utilization_percentage_threshold | integer hpa cpu threshold in percentage |
nginx.hpa.min_number_instances | integer hpa minimum number of instances |
nginx.hpa.max_number_instances | integer hpa maximum number of instances |
storageclass.fast_ssd | string storage class name to use to provision pvc |
qovery.static_ip_mode | boolean To limit public access from the internet to your Kubernetes cluster endpoint. You can define whitelisted CIDR in k8s.api.allowed_public_access_cidrs. |
k8s.api.allowed_public_access_cidrs | Array of strings Set custom sources to public access endpoint. Use CIDR notation to specify an IP address range (for example, ['203.0.113.5/32','203.0.100/32']) |
{- "aws.cloudwatch.eks_logs_retention_days": 0,
- "aws.vpc.enable_s3_flow_logs": true,
- "aws.vpc.flow_logs_retention_days": 0,
- "loki.log_retention_in_week": 0,
- "registry.image_retention_time": 0,
- "cloud_provider.container_registry.tags": {
- "property1": "string",
- "property2": "string"
}, - "aws.eks.enable_alb_controller": true,
- "load_balancer.size": "string",
- "database.postgresql.deny_any_access": true,
- "database.postgresql.allowed_cidrs": [
- "string"
], - "database.mysql.deny_any_access": true,
- "database.mysql.allowed_cidrs": [
- "string"
], - "database.mongodb.deny_any_access": true,
- "database.mongodb.allowed_cidrs": [
- "string"
], - "database.redis.deny_any_access": true,
- "database.redis.allowed_cidrs": [
- "string"
], - "aws.iam.admin_group": "string",
- "aws.eks.ec2.metadata_imds": "optional",
- "pleco.resources_ttl": 0,
- "registry.mirroring_mode": "Cluster",
- "nginx.vcpu.request_in_milli_cpu": 0,
- "nginx.vcpu.limit_in_milli_cpu": 0,
- "nginx.memory.request_in_mib": 0,
- "nginx.memory.limit_in_mib": 0,
- "nginx.hpa.cpu_utilization_percentage_threshold": 0,
- "nginx.hpa.min_number_instances": 0,
- "nginx.hpa.max_number_instances": 0,
- "storageclass.fast_ssd": "string",
- "qovery.static_ip_mode": true,
- "k8s.api.allowed_public_access_cidrs": [
- "string"
]
}
{- "aws.cloudwatch.eks_logs_retention_days": 0,
- "aws.vpc.enable_s3_flow_logs": true,
- "aws.vpc.flow_logs_retention_days": 0,
- "loki.log_retention_in_week": 0,
- "registry.image_retention_time": 0,
- "cloud_provider.container_registry.tags": {
- "property1": "string",
- "property2": "string"
}, - "aws.eks.enable_alb_controller": true,
- "load_balancer.size": "string",
- "database.postgresql.deny_any_access": true,
- "database.postgresql.allowed_cidrs": [
- "string"
], - "database.mysql.deny_any_access": true,
- "database.mysql.allowed_cidrs": [
- "string"
], - "database.mongodb.deny_any_access": true,
- "database.mongodb.allowed_cidrs": [
- "string"
], - "database.redis.deny_any_access": true,
- "database.redis.allowed_cidrs": [
- "string"
], - "aws.iam.admin_group": "string",
- "aws.eks.ec2.metadata_imds": "optional",
- "pleco.resources_ttl": 0,
- "registry.mirroring_mode": "Cluster",
- "nginx.vcpu.request_in_milli_cpu": 0,
- "nginx.vcpu.limit_in_milli_cpu": 0,
- "nginx.memory.request_in_mib": 0,
- "nginx.memory.limit_in_mib": 0,
- "nginx.hpa.cpu_utilization_percentage_threshold": 0,
- "nginx.hpa.min_number_instances": 0,
- "nginx.hpa.max_number_instances": 0,
- "storageclass.fast_ssd": "string",
- "qovery.static_ip_mode": true,
- "k8s.api.allowed_public_access_cidrs": [
- "string"
]
}
Retrieve network routing table where each line corresponds to a route between a destination and a target.
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "results": [
- {
- "destination": "string",
- "target": "string",
- "description": "string"
}
]
}
Edit routing table by returning updated table.
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
required | Array of objects |
{- "routes": [
- {
- "destination": "string",
- "target": "string",
- "description": "string"
}
]
}
{- "results": [
- {
- "destination": "string",
- "target": "string",
- "description": "string"
}
]
}
List Cluster Logs
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "results": [
- {
- "type": "info",
- "timestamp": "2022-06-22T14:20:17.733084815Z",
- "step": "Create",
- "message": {
- "safe_message": "Preparing to delete EKS cluster."
}, - "error": {
- "tag": "CANNOT_UNINSTALL_HELM_CHART",
- "user_log_message": "Wasn't able to delete all objects type Cert-Manager",
- "link": "string",
- "hint_message": "string",
- "event_details": {
- "provider_kind": "aws",
- "region": "eu-west-3",
- "transmitter": {
- "type": "kubernetes",
- "id": "za6ecdf3f",
- "name": "cluster-name"
}
}, - "underlying_error": {
- "message": "string"
}
}, - "details": {
- "provider_kind": "aws",
- "region": "eu-west-3",
- "transmitter": {
- "type": "kubernetes",
- "id": "za6ecdf3f",
- "name": "cluster-name"
}
}
}
]
}
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "cloud_provider": "AWS",
- "credentials": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "region": "string"
}
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
cloud_provider | string (CloudProviderEnum) Enum: "AWS" "SCW" "GCP" "ON_PREMISE" |
object | |
region | string |
{- "cloud_provider": "AWS",
- "credentials": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "region": "string"
}
{- "cloud_provider": "AWS",
- "credentials": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "region": "string"
}
allows to deploy a cluster
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "status": "BUILDING",
- "is_deployed": true,
- "next_k8s_available_version": "1.28",
- "last_execution_id": "f73e3833-922a-48a5-9dbd-6163f43f9143-1656410242"
}
allows to upgrade a cluster to next available kubernetes version
clusterId required | string <uuid> Cluster ID |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "status": "BUILDING",
- "is_deployed": true,
- "next_k8s_available_version": "1.28",
- "last_execution_id": "f73e3833-922a-48a5-9dbd-6163f43f9143-1656410242"
}
Update karpenter private fargate subnet ids
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
eks_karpenter_fargate_subnets_zone_a_ids | Array of strings |
eks_karpenter_fargate_subnets_zone_b_ids | Array of strings |
eks_karpenter_fargate_subnets_zone_c_ids | Array of strings |
{- "eks_karpenter_fargate_subnets_zone_a_ids": [
- "string"
], - "eks_karpenter_fargate_subnets_zone_b_ids": [
- "string"
], - "eks_karpenter_fargate_subnets_zone_c_ids": [
- "string"
]
}
Cluster stop has been requester.
organizationId required | string <uuid> Organization ID |
clusterId required | string <uuid> Cluster ID |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "status": "BUILDING",
- "is_deployed": true,
- "next_k8s_available_version": "1.28",
- "last_execution_id": "f73e3833-922a-48a5-9dbd-6163f43f9143-1656410242"
}
Default values for each setting are available in our documentation
{- "aws.cloudwatch.eks_logs_retention_days": 0,
- "aws.vpc.enable_s3_flow_logs": true,
- "aws.vpc.flow_logs_retention_days": 0,
- "loki.log_retention_in_week": 0,
- "registry.image_retention_time": 0,
- "cloud_provider.container_registry.tags": {
- "property1": "string",
- "property2": "string"
}, - "aws.eks.enable_alb_controller": true,
- "load_balancer.size": "string",
- "database.postgresql.deny_any_access": true,
- "database.postgresql.allowed_cidrs": [
- "string"
], - "database.mysql.deny_any_access": true,
- "database.mysql.allowed_cidrs": [
- "string"
], - "database.mongodb.deny_any_access": true,
- "database.mongodb.allowed_cidrs": [
- "string"
], - "database.redis.deny_any_access": true,
- "database.redis.allowed_cidrs": [
- "string"
], - "aws.iam.admin_group": "string",
- "aws.eks.ec2.metadata_imds": "optional",
- "pleco.resources_ttl": 0,
- "registry.mirroring_mode": "Cluster",
- "nginx.vcpu.request_in_milli_cpu": 0,
- "nginx.vcpu.limit_in_milli_cpu": 0,
- "nginx.memory.request_in_mib": 0,
- "nginx.memory.limit_in_mib": 0,
- "nginx.hpa.cpu_utilization_percentage_threshold": 0,
- "nginx.hpa.min_number_instances": 0,
- "nginx.hpa.max_number_instances": 0,
- "storageclass.fast_ssd": "string",
- "qovery.static_ip_mode": true,
- "k8s.api.allowed_public_access_cidrs": [
- "string"
]
}
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "cost_per_month_in_cents": 9900,
- "cost_per_month": 99,
- "currency_code": "USD",
- "is_cloud_provider_paying_feature": true,
- "is_qovery_paying_feature": true,
- "value_type": "BOOLEAN",
- "value_object": {
- "type": "STRING",
- "value": "string"
}, - "is_value_updatable": false,
- "accepted_values": [
- "string"
]
}
]
}
{- "results": [
- {
- "type": "T3A_XLARGE",
- "name": "t3a.xlarge",
- "cpu": 2,
- "ram_in_gb": 8,
- "bandwidth_in_gbps": "5.2",
- "bandwidth_guarantee": "UpTo",
- "architecture": "ARM64",
- "gpu_info": {
- "count": 0,
- "name": "string",
- "manufacturer": "string",
- "memory_in_mib": "string"
}, - "attributes": {
- "instance_category": "string",
- "instance_generation": 0,
- "instance_family": "string",
- "instance_size": "string",
- "meets_resource_reqs": true
}
}
]
}
region required | string Example: us-east-2 region name |
databaseType required | string Example: MYSQL Database type |
{- "results": [
- {
- "name": "db.t3.medium"
}
]
}
region required | string Example: us-east-2 region name |
{- "results": [
- {
- "type": "T3A_XLARGE",
- "name": "t3a.xlarge",
- "cpu": 2,
- "ram_in_gb": 8,
- "bandwidth_in_gbps": "5.2",
- "bandwidth_guarantee": "UpTo",
- "architecture": "ARM64",
- "gpu_info": {
- "count": 0,
- "name": "string",
- "manufacturer": "string",
- "memory_in_mib": "string"
}, - "attributes": {
- "instance_category": "string",
- "instance_generation": 0,
- "instance_family": "string",
- "instance_size": "string",
- "meets_resource_reqs": true
}
}
]
}
region required | string Example: us-east-2 region name |
only_meets_resource_reqs | boolean |
with_gpu | boolean |
{- "results": [
- {
- "type": "T3A_XLARGE",
- "name": "t3a.xlarge",
- "cpu": 2,
- "ram_in_gb": 8,
- "bandwidth_in_gbps": "5.2",
- "bandwidth_guarantee": "UpTo",
- "architecture": "ARM64",
- "gpu_info": {
- "count": 0,
- "name": "string",
- "manufacturer": "string",
- "memory_in_mib": "string"
}, - "attributes": {
- "instance_category": "string",
- "instance_generation": 0,
- "instance_family": "string",
- "instance_size": "string",
- "meets_resource_reqs": true
}
}
]
}
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "cost_per_month_in_cents": 9900,
- "cost_per_month": 99,
- "currency_code": "USD",
- "is_cloud_provider_paying_feature": true,
- "is_qovery_paying_feature": true,
- "value_type": "BOOLEAN",
- "value_object": {
- "type": "STRING",
- "value": "string"
}, - "is_value_updatable": false,
- "accepted_values": [
- "string"
]
}
]
}
{- "results": [
- {
- "type": "T3A_XLARGE",
- "name": "t3a.xlarge",
- "cpu": 2,
- "ram_in_gb": 8,
- "bandwidth_in_gbps": "5.2",
- "bandwidth_guarantee": "UpTo",
- "architecture": "ARM64",
- "gpu_info": {
- "count": 0,
- "name": "string",
- "manufacturer": "string",
- "memory_in_mib": "string"
}, - "attributes": {
- "instance_category": "string",
- "instance_generation": 0,
- "instance_family": "string",
- "instance_size": "string",
- "meets_resource_reqs": true
}
}
]
}
zone required | string Example: fr-par-1 zone name |
databaseType required | string Example: MYSQL Database type |
{- "results": [
- {
- "name": "db.t3.medium"
}
]
}
zone required | string Example: fr-par-1 zone name |
{- "results": [
- {
- "type": "T3A_XLARGE",
- "name": "t3a.xlarge",
- "cpu": 2,
- "ram_in_gb": 8,
- "bandwidth_in_gbps": "5.2",
- "bandwidth_guarantee": "UpTo",
- "architecture": "ARM64",
- "gpu_info": {
- "count": 0,
- "name": "string",
- "manufacturer": "string",
- "memory_in_mib": "string"
}, - "attributes": {
- "instance_category": "string",
- "instance_generation": 0,
- "instance_family": "string",
- "instance_size": "string",
- "meets_resource_reqs": true
}
}
]
}
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "cost_per_month_in_cents": 9900,
- "cost_per_month": 99,
- "currency_code": "USD",
- "is_cloud_provider_paying_feature": true,
- "is_qovery_paying_feature": true,
- "value_type": "BOOLEAN",
- "value_object": {
- "type": "STRING",
- "value": "string"
}, - "is_value_updatable": false,
- "accepted_values": [
- "string"
]
}
]
}
region required | string Example: us-east-2 region name |
{- "results": [
- {
- "type": "T3A_XLARGE",
- "name": "t3a.xlarge",
- "cpu": 2,
- "ram_in_gb": 8,
- "bandwidth_in_gbps": "5.2",
- "bandwidth_guarantee": "UpTo",
- "architecture": "ARM64",
- "gpu_info": {
- "count": 0,
- "name": "string",
- "manufacturer": "string",
- "memory_in_mib": "string"
}, - "attributes": {
- "instance_category": "string",
- "instance_generation": 0,
- "instance_family": "string",
- "instance_size": "string",
- "meets_resource_reqs": true
}
}
]
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string |
access_key_id required | string |
secret_access_key required | string |
{- "name": "string",
- "access_key_id": "string",
- "secret_access_key": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
name required | string |
access_key_id required | string |
secret_access_key required | string |
{- "name": "string",
- "access_key_id": "string",
- "secret_access_key": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string |
{- "name": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
name required | string |
{- "name": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string |
scaleway_access_key required | string |
scaleway_secret_key required | string |
scaleway_project_id required | string |
scaleway_organization_id required | string |
{- "name": "string",
- "scaleway_access_key": "string",
- "scaleway_secret_key": "string",
- "scaleway_project_id": "string",
- "scaleway_organization_id": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
name required | string |
scaleway_access_key required | string |
scaleway_secret_key required | string |
scaleway_project_id required | string |
scaleway_organization_id required | string |
{- "name": "string",
- "scaleway_access_key": "string",
- "scaleway_secret_key": "string",
- "scaleway_project_id": "string",
- "scaleway_organization_id": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string |
gcp_credentials required | string |
{- "name": "string",
- "gcp_credentials": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
credentialsId required | string <uuid> Credentials ID |
name required | string |
gcp_credentials required | string |
{- "name": "string",
- "gcp_credentials": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "access_key_id": "string",
- "object_type": "AWS"
}
organizationId required | string <uuid> Organization ID |
installation_id required | string |
code required | string |
{- "installation_id": "string",
- "code": "string"
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "ECR",
- "description": "string",
- "url": "string",
- "cluster": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string",
- "access_key_id": "string"
}
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string |
kind required | string (ContainerRegistryKindEnum) Enum: "ECR" "SCALEWAY_CR" "DOCKER_HUB" "GITHUB_CR" "GITLAB_CR" "PUBLIC_ECR" "DOCR" "GENERIC_CR" "GCP_ARTIFACT_REGISTRY" The type of your container registry |
description | string |
url | string <uri> URL of the container registry:
|
required | object This field is dependent of the container registry kind:
|
{- "name": "string",
- "kind": "ECR",
- "description": "string",
- "config": {
- "access_key_id": "string",
- "secret_access_key": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_secret_key": "string",
- "scaleway_project_id": "string",
- "json_credentials": "string",
- "username": "string",
- "password": "string"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "ECR",
- "description": "string",
- "url": "string",
- "cluster": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string",
- "access_key_id": "string"
}
}
organizationId required | string <uuid> Organization ID |
containerRegistryId required | string <uuid> Container Registry ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "ECR",
- "description": "string",
- "url": "string",
- "cluster": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string",
- "access_key_id": "string"
}
}
organizationId required | string <uuid> Organization ID |
containerRegistryId required | string <uuid> Container Registry ID |
name required | string |
kind required | string (ContainerRegistryKindEnum) Enum: "ECR" "SCALEWAY_CR" "DOCKER_HUB" "GITHUB_CR" "GITLAB_CR" "PUBLIC_ECR" "DOCR" "GENERIC_CR" "GCP_ARTIFACT_REGISTRY" The type of your container registry |
description | string |
url | string <uri> URL of the container registry:
|
required | object This field is dependent of the container registry kind:
|
{- "name": "string",
- "kind": "ECR",
- "description": "string",
- "config": {
- "access_key_id": "string",
- "secret_access_key": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_secret_key": "string",
- "scaleway_project_id": "string",
- "json_credentials": "string",
- "username": "string",
- "password": "string"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "ECR",
- "description": "string",
- "url": "string",
- "cluster": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string",
- "access_key_id": "string"
}
}
organizationId required | string <uuid> Organization ID |
containerRegistryId required | string <uuid> Container Registry ID |
imageName required | string container image name |
{- "results": [
- {
- "image_name": "string",
- "versions": [
- "string"
]
}
]
}
List supported container registries by Qovery and get the mandatory authentification configuration.
{- "results": [
- {
- "kind": "ECR",
- "required_config": { },
- "is_mandatory": true
}
]
}
organizationId required | string <uuid> Organization ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "HTTPS",
- "description": "string",
- "url": "string",
- "skip_tls_verification": true,
- "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "access_key_id": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string"
}
}
]
}
organizationId required | string <uuid> Organization ID |
name required | string |
kind required | string (HelmRepositoryKindEnum) Enum: "HTTPS" "OCI_ECR" "OCI_SCALEWAY_CR" "OCI_DOCKER_HUB" "OCI_PUBLIC_ECR" "OCI_GENERIC_CR" "OCI_GITHUB_CR" "OCI_GITLAB_CR" The type of your helm repository |
description | string |
url | string <uri> URL of the helm chart repository:
|
skip_tls_verification required | boolean Bypass tls certificate verification when connecting to repository |
required | object |
{- "name": "string",
- "kind": "HTTPS",
- "description": "string",
- "skip_tls_verification": true,
- "config": {
- "username": "string",
- "password": "string",
- "access_key_id": "string",
- "secret_access_key": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_secret_key": "string",
- "scaleway_project_id": "string"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "HTTPS",
- "description": "string",
- "url": "string",
- "skip_tls_verification": true,
- "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "access_key_id": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string"
}
}
organizationId required | string <uuid> Organization ID |
helmRepositoryId required | string <uuid> Helm chart repository ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "HTTPS",
- "description": "string",
- "url": "string",
- "skip_tls_verification": true,
- "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "access_key_id": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string"
}
}
organizationId required | string <uuid> Organization ID |
helmRepositoryId required | string <uuid> Helm chart repository ID |
name required | string |
kind required | string (HelmRepositoryKindEnum) Enum: "HTTPS" "OCI_ECR" "OCI_SCALEWAY_CR" "OCI_DOCKER_HUB" "OCI_PUBLIC_ECR" "OCI_GENERIC_CR" "OCI_GITHUB_CR" "OCI_GITLAB_CR" The type of your helm repository |
description | string |
url | string <uri> URL of the helm chart repository:
|
skip_tls_verification required | boolean Bypass tls certificate verification when connecting to repository |
required | object |
{- "name": "string",
- "kind": "HTTPS",
- "description": "string",
- "skip_tls_verification": true,
- "config": {
- "username": "string",
- "password": "string",
- "access_key_id": "string",
- "secret_access_key": "string",
- "region": "string",
- "scaleway_access_key": "string",
- "scaleway_secret_key": "string",
- "scaleway_project_id": "string"
}
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "HTTPS",
- "description": "string",
- "url": "string",
- "skip_tls_verification": true,
- "associated_services_count": 0,
- "config": {
- "username": "string",
- "region": "string",
- "access_key_id": "string",
- "scaleway_access_key": "string",
- "scaleway_project_id": "string"
}
}
organizationId required | string <uuid> Organization ID |
helmRepositoryId required | string <uuid> Helm chart repository ID |
chartName | string Helm chart name to filter the result on |
{- "results": [
- {
- "chart_name": "string",
- "versions": [
- "string"
]
}
]
}
projectId required | string <uuid> Project ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
To edit a project you must have the admin permission
projectId required | string <uuid> Project ID |
name required | string name is case insensitive |
description | string |
{- "name": "string",
- "description": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
projectId required | string <uuid> Project ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "project": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "last_updated_by": "e51d5fee-238a-41fd-a36d-38209c61fb21",
- "cloud_provider": {
- "provider": "aws",
- "cluster": "us-east-2"
}, - "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string"
}
]
}
projectId required | string <uuid> Project ID |
name required | string name is case insensitive |
cluster | string <uuid> |
mode | string (CreateEnvironmentModeEnum) Enum: "DEVELOPMENT" "PRODUCTION" "STAGING" |
{- "name": "string",
- "cluster": "75f2c581-ef2d-4437-9fa8-a27342452fc4",
- "mode": "PRODUCTION"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "project": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "last_updated_by": "e51d5fee-238a-41fd-a36d-38209c61fb21",
- "cloud_provider": {
- "provider": "aws",
- "cluster": "us-east-2"
}, - "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string"
}
Returns a list of environments with only their id and status.
projectId required | string <uuid> Project ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}
]
}
Returns a list of environment ids, and for each its total numberof services
projectId required | string <uuid> Project ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "service_total_number": 0
}
]
}
List project deployment rules
projectId required | string <uuid> Project ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "project-rule",
- "description": "description project rule",
- "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "auto_stop": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
], - "wildcard": "",
- "priority_index": 0
}
]
}
Create a deployment rule
projectId required | string <uuid> Project ID |
name required | string name is case insensitive |
description | string or null |
mode required | string (EnvironmentModeEnum) Enum: "DEVELOPMENT" "PREVIEW" "PRODUCTION" "STAGING" |
cluster_id required | string <uuid> |
auto_stop | boolean Default: false |
timezone required | string |
start_time required | string <date-time> |
stop_time required | string <date-time> |
weekdays required | Array of strings (WeekdayEnum) Items Enum: "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY" "SUNDAY" |
wildcard required | string Default: "" wildcard pattern composed of '?' and/or '*' used to target new created environments |
{- "name": "project-rule",
- "description": "description project rule",
- "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "auto_stop": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
], - "wildcard": ""
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "project-rule",
- "description": "description project rule",
- "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "auto_stop": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
], - "wildcard": "",
- "priority_index": 0
}
Get a project deployment rule
projectId required | string <uuid> Project ID |
deploymentRuleId required | string <uuid> Deployment Rule ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "project-rule",
- "description": "description project rule",
- "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "auto_stop": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
], - "wildcard": "",
- "priority_index": 0
}
Edit a project deployment rule
projectId required | string <uuid> Project ID |
deploymentRuleId required | string <uuid> Deployment Rule ID |
name required | string name is case insensitive |
description | string or null |
mode required | string (EnvironmentModeEnum) Enum: "DEVELOPMENT" "PREVIEW" "PRODUCTION" "STAGING" |
cluster_id required | string <uuid> |
auto_stop | boolean Default: false |
timezone required | string |
start_time required | string <date-time> |
stop_time required | string <date-time> |
weekdays required | Array of strings (WeekdayEnum) Items Enum: "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY" "SUNDAY" |
wildcard required | string Default: "" wildcard pattern composed of '?' and/or '*' used to target new created environments |
{- "name": "project-rule",
- "description": "description project rule",
- "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "auto_stop": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
], - "wildcard": ""
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "project-rule",
- "description": "description project rule",
- "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "auto_stop": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
], - "wildcard": "",
- "priority_index": 0
}
Update deployment rules priority order
projectId required | string <uuid> Project ID |
project_deployment_rule_ids_in_order | Array of strings <uuid> |
{- "project_deployment_rule_ids_in_order": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
projectId required | string <uuid> Project ID |
key required | string key is case sensitive. |
value | string value of the env variable. |
mount_path | string or null Default: null should be set for file only. variable mount path makes variable a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
projectId required | string <uuid> Project ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
]
}
projectId required | string <uuid> Project ID |
environmentVariableId required | string <uuid> Environment Variable ID |
projectId required | string <uuid> Project ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string key is case sensitive |
value | string value of the env variable. |
mount_path | string or null |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
projectId required | string <uuid> Project ID |
environmentVariableId required | string <uuid> Environment Variable ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
projectId required | string <uuid> Project ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
projectId required | string <uuid> Project ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
]
}
projectId required | string <uuid> Project ID |
key required | string key is case sensitive |
value | string value of the secret. Clear value will never be returned |
mount_path | string or null Default: null should be set for file only. variable mount path make secret a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 character maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
projectId required | string <uuid> Project ID |
secretId required | string <uuid> Secret ID |
projectId required | string <uuid> Project ID |
secretId required | string <uuid> Secret ID |
value | string |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
projectId required | string <uuid> Project ID |
secretId required | string <uuid> Secret ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
projectId required | string <uuid> Project ID |
secretId required | string <uuid> Secret ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
environmentId required | string <uuid> Environment ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "project": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "last_updated_by": "e51d5fee-238a-41fd-a36d-38209c61fb21",
- "cloud_provider": {
- "provider": "aws",
- "cluster": "us-east-2"
}, - "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string"
}
To edit an environment you must have the admin permission
environmentId required | string <uuid> Environment ID |
name | string |
mode | string (CreateEnvironmentModeEnum) Enum: "DEVELOPMENT" "PRODUCTION" "STAGING" |
{- "name": "string",
- "mode": "PRODUCTION"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "project": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "last_updated_by": "e51d5fee-238a-41fd-a36d-38209c61fb21",
- "cloud_provider": {
- "provider": "aws",
- "cluster": "us-east-2"
}, - "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string"
}
environmentId required | string <uuid> Environment ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}
environmentId required | string <uuid> Environment ID |
{- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}, - "applications": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "containers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "jobs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "databases": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "helms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
]
}
environmentId required | string <uuid> Environment ID |
{- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}, - "stages": [
- {
- "applications": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "containers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "jobs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "databases": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "helms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
], - "stage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "steps": {
- "total_duration_sec": 0,
- "details": [
- {
- "step_name": "QUEUEING",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}, - "description": "string",
- "status": "QUEUED"
}
}
], - "pre_check_stage": {
- "status": "SUCCESS",
- "total_duration_sec": 0
}
}
environmentId required | string <uuid> Environment ID |
toUpdate | boolean Default: false return (or not) results that must be updated |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
]
}
environmentId required | string <uuid> Environment ID |
Array of objects | |
Array of objects | |
name required | string name is case insensitive |
description | string or null give a description to this application |
required | object (ApplicationGitRepositoryRequest) |
build_mode | string (BuildModeEnum) Default: "BUILDPACKS" Enum: "BUILDPACKS" "DOCKER"
|
dockerfile_path | string or null The path of the associated Dockerfile. Only if you are using build_mode = DOCKER |
buildpack_language | string or null (BuildPackLanguageEnum) Enum: "CLOJURE" "GO" "GRADLE" "GRAILS" "JAVA" "JVM" "NODE_JS" "PHP" "PLAY" "PYTHON" "SCALA" Development language of the application |
cpu | integer Default: 500 unit is millicores (m). 1000m = 1 cpu |
memory | integer Default: 512 unit is MB. 1024 MB = 1GB |
min_running_instances | integer >= 0 Default: 1 Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running. |
max_running_instances | integer Default: 1 Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit. |
required | object (Healthcheck) |
auto_preview | boolean Default: true Specify if the environment preview option is activated or not for this application. |
arguments | Array of strings |
entrypoint | string optional entrypoint when launching container |
auto_deploy | boolean or null Specify if the application will be automatically updated after receiving a new commit. |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the application. |
{- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "name": "string",
- "description": "string",
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}, - "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
Returns a list of applications with only their id and status.
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
]
}
Default values for each setting are available in our documentation
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.lifecycle.post_start_exec_command": [
- "string"
], - "deployment.lifecycle.pre_stop_exec_command": [
- "string"
], - "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "hpa.cpu.average_utilization_percent": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
This will create a new application with the same configuration on the targeted environment Id.
applicationId required | string <uuid> Application ID |
name required | string |
environment_id required | string <uuid> |
{- "name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
Returns a list of containers with only their id and status.
organizationId required | string <uuid> Organization ID |
containerRegistryId required | string <uuid> Container Registry ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
]
}
environmentId required | string <uuid> Environment ID |
toUpdate | boolean Default: false return (or not) results that must be updated |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}, - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "arguments": [
- "string"
], - "entrypoint": "string",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
]
}
environmentId required | string <uuid> Environment ID |
Array of objects | |
Array of objects | |
name required | string name is case insensitive |
description | string give a description to this container |
registry_id required | string id of the linked registry |
image_name required | string The image name pattern differs according to chosen container registry provider:
|
tag required | string tag of the image container |
arguments | Array of strings |
entrypoint | string optional entrypoint when launching container |
cpu | integer Default: 500 unit is millicores (m). 1000m = 1 cpu |
memory | integer Default: 512 unit is MB. 1024 MB = 1GB |
min_running_instances | integer >= 0 Default: 1 Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running. |
max_running_instances | integer Default: 1 Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit. |
required | object (Healthcheck) |
auto_preview | boolean Indicates if the 'environment preview option' is enabled for this container. |
auto_deploy | boolean or null Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the "Auto Deploy container" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the container. |
{- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "name": "string",
- "description": "string",
- "registry_id": "string",
- "image_name": "string",
- "tag": "string",
- "arguments": [
- "string"
], - "entrypoint": "string",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}, - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "arguments": [
- "string"
], - "entrypoint": "string",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
Returns a list of containers with only their id and status.
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
]
}
Triggers a new container deploy in each environment matching the following conditions
organizationId required | string <uuid> Organization ID |
image_name | string the container image name to deploy |
tag | string the new tag to deploy |
{- "image_name": "string",
- "tag": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Triggers a new container preview for each environment matching the following conditions
organizationId required | string <uuid> Organization ID |
image_name | string the container image name to trigger preview environment |
tag | string the tag to be used in the preview environment |
{- "image_name": "string",
- "tag": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Default values for each setting are available in our documentation
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "security.service_account_name": "string",
- "hpa.cpu.average_utilization_percent": 0,
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
This will create a new container with the same configuration on the targeted environment Id.
containerId required | string <uuid> Container ID |
name required | string |
environment_id required | string <uuid> |
{- "name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}, - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "arguments": [
- "string"
], - "entrypoint": "string",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "database_type": "MONGODB",
- "version": [
- {
- "name": "10.1",
- "supported_mode": "CONTAINER"
}
]
}
]
}
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "MONGODB",
- "version": "10.1",
- "mode": "CONTAINER",
- "accessibility": "PRIVATE",
- "cpu": 1250,
- "instance_type": "db.t3.medium",
- "memory": 1024,
- "storage": 10,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "host": "string",
- "port": 5432,
- "maximum_cpu": 1250,
- "maximum_memory": 1024,
- "disk_encrypted": true
}
]
}
environmentId required | string <uuid> Environment ID |
name required | string name is case insensitive |
description | string give a description to this database |
type required | string (DatabaseTypeEnum) Enum: "MONGODB" "MYSQL" "POSTGRESQL" "REDIS" |
version required | string |
mode required | string (DatabaseModeEnum) Enum: "CONTAINER" "MANAGED" |
accessibility | string (DatabaseAccessibilityEnum) Default: "PRIVATE" Enum: "PRIVATE" "PUBLIC" |
cpu | integer Default: 250 unit is millicores (m). 1000m = 1 cpu This field will be ignored for managed DB (instance type will be used instead). |
instance_type | string Database instance type to be used for this database. The list of values can be retrieved via the endpoint /{CloudProvider}/managedDatabase/instanceType/{region}/{dbType}. This field SHOULD NOT be set for container DB. |
memory | integer unit is MB. 1024 MB = 1GB This field will be ignored for managed DB (instance type will be used instead). Default value is linked to the database type:
|
storage | integer Default: 10 unit is GB |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the database. |
{- "name": "string",
- "description": "string",
- "type": "MONGODB",
- "version": "10.1",
- "mode": "CONTAINER",
- "accessibility": "PRIVATE",
- "cpu": 1250,
- "instance_type": "db.t3.medium",
- "memory": 1024,
- "storage": 10,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "MONGODB",
- "version": "10.1",
- "mode": "CONTAINER",
- "accessibility": "PRIVATE",
- "cpu": 1250,
- "instance_type": "db.t3.medium",
- "memory": 1024,
- "storage": 10,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "host": "string",
- "port": 5432,
- "maximum_cpu": 1250,
- "maximum_memory": 1024,
- "disk_encrypted": true
}
Returns a list of databases with only their id and status.
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
]
}
This will create a new database with the same configuration on the targeted environment Id.
databaseId required | string <uuid> Database ID |
name required | string |
environment_id required | string <uuid> |
{- "name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "MONGODB",
- "version": "10.1",
- "mode": "CONTAINER",
- "accessibility": "PRIVATE",
- "cpu": 1250,
- "instance_type": "db.t3.medium",
- "memory": 1024,
- "storage": 10,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "host": "string",
- "port": 5432,
- "maximum_cpu": 1250,
- "maximum_memory": 1024,
- "disk_encrypted": true
}
Triggers a new job deploy in each environment matching the following conditions
organizationId required | string <uuid> Organization ID |
image_name | string the job image name to deploy |
tag | string the new tag to deploy |
{- "image_name": "string",
- "tag": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Default values for each setting is available in our documentation
{- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "job.delete_ttl_seconds_after_finished": 0,
- "cronjob.concurrency_policy": "string",
- "cronjob.failed_jobs_history_limit": 0,
- "cronjob.success_jobs_history_limit": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
environmentId required | string <uuid> Environment ID |
toUpdate | boolean Default: false return (or not) results that must be updated |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "cpu": 1250,
- "memory": 1024,
- "max_nb_restart": 0,
- "max_duration_seconds": 0,
- "auto_preview": true,
- "port": null,
- "source": {
- "image": {
- "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}
}
}, - "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_deploy": true,
- "job_type": "LIFECYCLE",
- "schedule": {
- "on_start": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_stop": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_delete": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "lifecycle_type": "GENERIC"
}, - "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
]
}
]
}
environmentId required | string <uuid> Environment ID |
name required | string name is case insensitive |
description | string |
cpu | integer Default: 500 unit is millicores (m). 1000m = 1 cpu |
memory | integer Default: 512 unit is MB. 1024 MB = 1GB |
max_nb_restart | integer >= 0 Default: 0 Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed |
max_duration_seconds | integer >= 0 Maximum number of seconds allowed for the job to run before killing it and mark it as failed |
auto_preview | boolean Indicates if the 'environment preview option' is enabled for this container. |
port | integer or null >= 1 Default: null Port where to run readiness and liveliness probes checks. The port will not be exposed externally |
object | |
required | object (Healthcheck) |
object If you want to define a Cron job, only the | |
auto_deploy | boolean or null Specify if the job will be automatically updated after receiving a new image tag or a new commit according to the source type. The new image tag shall be communicated via the "Auto Deploy job" endpoint https://api-doc.qovery.com/#tag/Jobs/operation/autoDeployJobEnvironments |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the job. |
{- "name": "string",
- "description": "string",
- "cpu": 1250,
- "memory": 1024,
- "max_nb_restart": 0,
- "max_duration_seconds": 0,
- "auto_preview": true,
- "port": null,
- "source": {
- "image": {
- "image_name": "string",
- "tag": "string",
- "registry_id": "string"
}, - "docker": {
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}, - "dockerfile_path": "string",
- "dockerfile_raw": "string"
}
}, - "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "schedule": {
- "on_start": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_stop": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_delete": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "cronjob": {
- "arguments": [
- "string"
], - "entrypoint": "string",
- "timezone": "string",
- "scheduled_at": "string"
}, - "lifecycle_type": "GENERIC"
}, - "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "cpu": 1250,
- "memory": 1024,
- "max_nb_restart": 0,
- "max_duration_seconds": 0,
- "auto_preview": true,
- "port": null,
- "source": {
- "image": {
- "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}
}
}, - "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_deploy": true,
- "job_type": "LIFECYCLE",
- "schedule": {
- "on_start": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_stop": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_delete": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "lifecycle_type": "GENERIC"
}, - "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
]
}
Returns a list of jobs with only their id and status.
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
]
}
This will create a new job with the same configuration on the targeted environment Id.
jobId required | string <uuid> Job ID |
name required | string |
environment_id required | string <uuid> |
{- "name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "cpu": 1250,
- "memory": 1024,
- "max_nb_restart": 0,
- "max_duration_seconds": 0,
- "auto_preview": true,
- "port": null,
- "source": {
- "image": {
- "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}
}
}, - "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_deploy": true,
- "job_type": "LIFECYCLE",
- "schedule": {
- "on_start": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_stop": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_delete": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "lifecycle_type": "GENERIC"
}, - "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
]
}
{- "deployment.custom_domain_check_enabled": true,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true
}
environmentId required | string <uuid> Environment ID |
toUpdate | boolean Default: false return (or not) results that must be updated |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "timeout_sec": 600,
- "auto_preview": true,
- "auto_deploy": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "port_type": "string",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "namespace": "string",
- "protocol": "HTTP",
- "is_default": true,
- "service_name": "string"
}
], - "source": {
- "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}
}
}, - "arguments": [
- "string"
], - "allow_cluster_wide_resources": false,
- "values_override": {
- "set": [
- [
- "string"
]
], - "set_string": [
- [
- "string"
]
], - "set_json": [
- [
- "string"
]
], - "file": {
- "raw": {
- "values": [
- {
- "name": "string",
- "content": "string"
}
]
}, - "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "paths": [
- "string"
]
}
}
},
}
]
}
environmentId required | string <uuid> Environment ID |
Array of objects or objects | |
name required | string name is case insensitive |
description | string |
timeout_sec | integer >= 0 Default: 600 Maximum number of seconds allowed for helm to run before killing it and mark it as failed |
auto_preview | boolean or null Indicates if the 'environment preview option' is enabled. |
auto_deploy required | boolean Specify if the helm will be automatically updated after receiving a new image tag or a new commit according to the source type. |
required | object or object |
arguments required | Array of strings The extra arguments to pass to helm |
allow_cluster_wide_resources | boolean Default: false If we should allow the chart to deploy object outside his specified namespace. Setting this flag to true, requires special rights |
required | object Specify helm values you want to set or override |
icon_uri | string <uri> Icon URI representing the helm service. |
{- "ports": [
- {
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "namespace": "string",
- "protocol": "HTTP",
- "is_default": true,
- "service_selectors": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "name": "string",
- "description": "string",
- "timeout_sec": 600,
- "auto_preview": true,
- "auto_deploy": true,
- "source": {
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}
}, - "arguments": [
- "string"
], - "allow_cluster_wide_resources": false,
- "values_override": {
- "set": [
- [
- "string"
]
], - "set_string": [
- [
- "string"
]
], - "set_json": [
- [
- "string"
]
], - "file": {
- "git": {
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}, - "paths": [
- "string"
]
}, - "raw": {
- "values": [
- {
- "name": "string",
- "content": "string"
}
]
}
}
},
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "timeout_sec": 600,
- "auto_preview": true,
- "auto_deploy": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "port_type": "string",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "namespace": "string",
- "protocol": "HTTP",
- "is_default": true,
- "service_name": "string"
}
], - "source": {
- "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}
}
}, - "arguments": [
- "string"
], - "allow_cluster_wide_resources": false,
- "values_override": {
- "set": [
- [
- "string"
]
], - "set_string": [
- [
- "string"
]
], - "set_json": [
- [
- "string"
]
], - "file": {
- "raw": {
- "values": [
- {
- "name": "string",
- "content": "string"
}
]
}, - "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "paths": [
- "string"
]
}
}
},
}
environmentId required | string <uuid> Environment ID |
required | object or object |
{- "source": {
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}
}
}
Returns a list of helms with only their id and status.
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
]
}
This will create a new helm with the same configuration on the targeted environment Id.
helmId required | string <uuid> Helm ID |
name required | string |
environment_id required | string <uuid> |
{- "name": "string",
- "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "timeout_sec": 600,
- "auto_preview": true,
- "auto_deploy": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "port_type": "string",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "namespace": "string",
- "protocol": "HTTP",
- "is_default": true,
- "service_name": "string"
}
], - "source": {
- "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}
}
}, - "arguments": [
- "string"
], - "allow_cluster_wide_resources": false,
- "values_override": {
- "set": [
- [
- "string"
]
], - "set_string": [
- [
- "string"
]
], - "set_json": [
- [
- "string"
]
], - "file": {
- "raw": {
- "values": [
- {
- "name": "string",
- "content": "string"
}
]
}, - "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "paths": [
- "string"
]
}
}
},
}
This will deploy all the services of this environment to their latest version.
environmentId required | string <uuid> Environment ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
environmentId required | string <uuid> Environment ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}
environmentId required | string <uuid> Environment ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}
Cancel the current deployment of your environment.
environmentId required | string <uuid> Environment ID |
force_cancel | boolean Default: false Force cancel everything running in this environment if set to true (e.q lifecycle jobs triggered during the deployment). |
{- "force_cancel": false
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}
You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
environmentId required | string <uuid> Environment ID |
name required | string name is case insensitive |
cluster_id | string <uuid> |
mode | string (EnvironmentModeEnum) Enum: "DEVELOPMENT" "PREVIEW" "PRODUCTION" "STAGING" |
apply_deployment_rule | boolean Default: false |
{- "name": "string",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "mode": "PRODUCTION",
- "apply_deployment_rule": false
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "organization": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "project": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "last_updated_by": "e51d5fee-238a-41fd-a36d-38209c61fb21",
- "cloud_provider": {
- "provider": "aws",
- "cluster": "us-east-2"
}, - "mode": "PRODUCTION",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string"
}
Update and deploy the selected services
environmentId required | string <uuid> Environment ID |
Array of objects | |
databases | Array of strings <uuid> |
Array of objects | |
Array of objects | |
Array of objects |
{- "applications": [
- {
- "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c",
- "git_commit_id": "string"
}
], - "databases": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "containers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "image_tag": "string"
}
], - "jobs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "image_tag": "string",
- "git_commit_id": "string"
}
], - "helms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "chart_version": "string",
- "git_commit_id": "string",
- "values_override_git_commit_id": "string"
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "last_deployment_state": "BUILDING",
- "last_deployment_id": "string",
- "total_deployment_duration_in_seconds": 0,
- "origin": "API",
- "triggered_by": "string"
}
Update and reboot the selected services
environmentId required | string <uuid> Environment ID |
application_ids | Array of strings <uuid> |
database_ids | Array of strings <uuid> |
container_ids | Array of strings <uuid> |
{- "application_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "database_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "container_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Stop selected services
environmentId required | string <uuid> Environment ID |
application_ids | Array of strings <uuid> |
container_ids | Array of strings <uuid> |
database_ids | Array of strings <uuid> |
job_ids | Array of strings <uuid> |
helm_ids | Array of strings <uuid> |
{- "application_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "container_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "database_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "job_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "helm_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Delete selected services
environmentId required | string <uuid> Environment ID |
application_ids | Array of strings <uuid> |
container_ids | Array of strings <uuid> |
database_ids | Array of strings <uuid> |
job_ids | Array of strings <uuid> |
helm_ids | Array of strings <uuid> |
{- "application_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "container_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "database_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "job_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "helm_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
environmentId required | string |
job_ids | Array of strings <uuid> |
{- "job_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
{- "clean_job_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "clean_kubernetes_jobs": [
- "string"
]
}
This returns the last 1000 environment deployment logs.
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "scope": {
- "type": "APPLICATION",
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "state": "CANCELED",
- "message": "string",
- "execution_id": "string",
- "hint": "only for errors. it gives a possible action to the user -- Markdown can be injected"
}
]
}
This returns the last 1000 environment deployment logs v2
environmentId required | string <uuid> Environment ID |
version | string |
[- {
- "type": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "details": {
- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "execution_id": "string",
- "transmitter": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string"
}, - "stage": {
- "step": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "error": {
- "tag": "string",
- "user_log_message": "string",
- "link": "string",
- "hint_message": "string",
- "underlying_error": {
- "message": "string",
- "full_details": "string"
}
}, - "message": {
- "safe_message": "string",
- "full_details": "string"
}
}
]
List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
environmentId required | string <uuid> Environment ID |
startId | string <uuid> Starting point after which to return results |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "BUILDING",
- "origin": "API",
- "triggered_by": "string",
- "applications": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "status": "BUILDING"
}
], - "containers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "image_name": "string",
- "tag": "string",
- "arguments": [
- "string"
], - "entrypoint": "string"
}
], - "databases": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING"
}
], - "jobs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "image_name": "string",
- "tag": "string",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "schedule": {
- "event": "ON_START",
- "schedule_at": "string"
}, - "arguments": [
- "string"
], - "entrypoint": "string"
}
], - "helms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "repository": {
- "chart_name": "string",
- "chart_version": "string"
}
}
]
}
]
}
List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
environmentId required | string <uuid> Environment ID |
startId | string <uuid> Starting point after which to return results |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": "BUILDING",
- "origin": "API",
- "triggered_by": "string",
- "applications": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "status": "BUILDING"
}
], - "containers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "image_name": "string",
- "tag": "string",
- "arguments": [
- "string"
], - "entrypoint": "string"
}
], - "databases": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING"
}
], - "jobs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "image_name": "string",
- "tag": "string",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "schedule": {
- "event": "ON_START",
- "schedule_at": "string"
}, - "arguments": [
- "string"
], - "entrypoint": "string"
}
], - "helms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "repository": {
- "chart_name": "string",
- "chart_version": "string"
}
}
]
}
]
}
environmentId required | string <uuid> Environment ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "on_demand_preview": false,
- "auto_stop": false,
- "auto_preview": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
]
}
environmentId required | string <uuid> Environment ID |
deploymentRuleId required | string <uuid> Deployment Rule ID |
on_demand_preview | boolean Default: false |
auto_preview | boolean Default: false |
auto_stop | boolean Default: false |
timezone required | string |
start_time required | string <date-time> |
stop_time required | string <date-time> |
weekdays required | Array of strings (WeekdayEnum) Items Enum: "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY" "SUNDAY" |
{- "on_demand_preview": false,
- "auto_preview": false,
- "auto_stop": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "on_demand_preview": false,
- "auto_stop": false,
- "auto_preview": false,
- "timezone": "UTC",
- "start_time": "1970-01-01T08:00:00.000Z",
- "stop_time": "1970-01-01T19:00:00.000Z",
- "weekdays": [
- "MONDAY"
]
}
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
]
}
environmentId required | string <uuid> Environment ID |
key required | string key is case sensitive. |
value | string value of the env variable. |
mount_path | string or null Default: null should be set for file only. variable mount path makes variable a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
environmentId required | string <uuid> Environment ID |
environmentVariableId required | string <uuid> Environment Variable ID |
environmentId required | string <uuid> Environment ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string key is case sensitive |
value | string value of the env variable. |
mount_path | string or null |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
environmentId required | string <uuid> Environment ID |
environmentVariableId required | string <uuid> Environment Variable ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
environmentId required | string <uuid> Environment ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
]
}
environmentId required | string <uuid> Environment ID |
key required | string key is case sensitive |
value | string value of the secret. Clear value will never be returned |
mount_path | string or null Default: null should be set for file only. variable mount path make secret a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 character maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
environmentId required | string <uuid> Environment ID |
secretId required | string <uuid> Secret ID |
environmentId required | string <uuid> Environment ID |
secretId required | string <uuid> Secret ID |
value | string |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
environmentId required | string <uuid> Environment ID |
secretId required | string <uuid> Secret ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
environmentId required | string <uuid> Environment ID |
secretId required | string <uuid> Secret ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
environmentId required | string <uuid> Environment ID |
exportSecrets | boolean Default: false export Secrets from configuration and include them into Terraform export |
environmentId required | string <uuid> Environment ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
]
}
environmentId required | string <uuid> Environment ID |
name required | string The name of the deployment stage |
description | string or null free test describing this stage |
{- "name": "string",
- "description": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
deploymentStageId required | string <uuid> Deployment Stage ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
deploymentStageId required | string <uuid> Deployment Stage ID |
name required | string The name of the deployment stage |
description | string or null free test describing this stage |
{- "name": "string",
- "description": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
deploymentStageId required | string <uuid> Deployment Stage ID |
serviceId required | string <uuid> Service ID of an application/job/container/database |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
]
}
deploymentStageId required | string <uuid> Deployment Stage ID |
stageId required | string <uuid> Deployment Stage ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
]
}
deploymentStageId required | string <uuid> Deployment Stage ID |
stageId required | string <uuid> Deployment Stage ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
]
}
serviceId required | string <uuid> Service ID of an application/job/container/database |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "deployment_order": 1,
- "services": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "string"
}
]
}
applicationId required | string <uuid> Application ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
applicationId required | string <uuid> Application ID |
Array of objects | |
name | string name is case insensitive |
description | string give a description to this application |
object (ApplicationGitRepositoryRequest) | |
build_mode | string (BuildModeEnum) Default: "BUILDPACKS" Enum: "BUILDPACKS" "DOCKER"
|
dockerfile_path | string or null The path of the associated Dockerfile |
buildpack_language | string or null (BuildPackLanguageEnum) Enum: "CLOJURE" "GO" "GRADLE" "GRAILS" "JAVA" "JVM" "NODE_JS" "PHP" "PLAY" "PYTHON" "SCALA" Development language of the application |
cpu | integer Default: 500 unit is millicores (m). 1000m = 1 cpu |
memory | integer Default: 512 unit is MB. 1024 MB = 1GB |
min_running_instances | integer >= 0 Default: 1 Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running. |
max_running_instances | integer Default: 1 Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit. |
required | object (Healthcheck) |
auto_preview | boolean Default: true Specify if the environment preview option is activated or not for this application. |
Array of objects (ServicePortResponseList) | |
arguments | Array of strings |
entrypoint | string optional entrypoint when launching container |
auto_deploy | boolean or null Specify if the application will be automatically updated after receiving a new commit. |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the application. |
{- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "name": "string",
- "description": "string",
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}, - "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
applicationId required | string <uuid> Application ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
applicationId required | string <uuid> Application ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "first_name": "string",
- "last_name": "string",
}
]
}
Returns list of the last 100 commits made on the repository linked to the application
applicationId required | string <uuid> Application ID |
startId | string <uuid> Starting point after which to return results |
gitCommitId | string <uuid> Git Commit ID |
{- "results": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
]
}
This will return all the custom domains and Qovery autogenerated domain for the given application
applicationId required | string <uuid> Application ID |
{- "results": [
- {
- "url": "string",
- "internal_port": 0,
- "external_port": 0,
- "is_qovery_domain": true,
- "is_default": true
}
]
}
You must provide a git commit id
applicationId required | string <uuid> Application ID |
git_commit_id required | string Commit ID to deploy |
{- "git_commit_id": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
applicationId required | string <uuid> Application ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
applicationId required | string <uuid> Application ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
applicationId required | string <uuid> Application ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Edit the Network settings of the application.
applicationId required | string <uuid> Application ID |
sticky_session | boolean Default: false Specify if the sticky session option (also called persistant session) is activated or not for this application. If activated, user will be redirected by the load balancer to the same instance each time he access to the application. |
{- "sticky_session": false
}
{- "sticky_session": false
}
Get list and values of the advanced settings of the application. Default values for each setting are available in our documentation
applicationId required | string <uuid> Application ID |
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.lifecycle.post_start_exec_command": [
- "string"
], - "deployment.lifecycle.pre_stop_exec_command": [
- "string"
], - "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "hpa.cpu.average_utilization_percent": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
Edit advanced settings by returning table of advanced settings.
applicationId required | string <uuid> Application ID |
deployment.custom_domain_check_enabled | boolean disable custom domain check when deploying an application |
deployment.termination_grace_period_seconds | integer define how long in seconds an application is supposed to be stopped gracefully |
object Set pod placement on specific Kubernetes nodes labels | |
deployment.antiaffinity.pod | string Enum: "Preferred" "Requirred" Define how you want pods affinity to behave:
|
deployment.lifecycle.post_start_exec_command | Array of strings Allows you to run a command after the application is started. The command should be a shell command or script. |
deployment.lifecycle.pre_stop_exec_command | Array of strings Allows you to run a command before the application is stopped. The command should be a shell command or script. Qovery requires the sh shell by default and sets a sleep of 15 seconds to let Nginx update its config. Avoiding error codes returned during a rolling update. |
deployment.update_strategy.type | string Enum: "RollingUpdate" "Recreate"
|
deployment.update_strategy.rolling_update.max_unavailable_percent | integer Define the percentage of a maximum number of pods that can be unavailable during the update process |
deployment.update_strategy.rolling_update.max_surge_percent | integer Define the percentage of the maximum number of pods that can be created over the desired number of pods |
build.timeout_max_sec | integer |
build.cpu_max_in_milli | integer define the max cpu resources (in milli) |
build.ram_max_in_gib | integer define the max ram resources (in gib) |
network.ingress.proxy_body_size_mb | integer |
network.ingress.enable_cors | boolean |
network.ingress.cors_allow_origin | string |
network.ingress.cors_allow_methods | string |
network.ingress.cors_allow_headers | string |
network.ingress.proxy_buffer_size_kb | integer header buffer size used while reading response header from upstream |
network.ingress.keepalive_time_seconds | integer Limits the maximum time (in seconds) during which requests can be processed through one keepalive connection |
network.ingress.keepalive_timeout_seconds | integer Sets a timeout (in seconds) during which an idle keepalive connection to an upstream server will stay open. |
network.ingress.send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a response to the client |
network.ingress.proxy_connect_timeout_seconds | integer Sets a timeout (in seconds) for establishing a connection to a proxied server |
network.ingress.proxy_send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the proxied server |
network.ingress.proxy_read_timeout_seconds | integer Sets a timeout (in seconds) for reading a response from the proxied server |
network.ingress.proxy_buffering | string Allows to enable or disable nginx |
network.ingress.whitelist_source_range | string list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0. |
network.ingress.denylist_source_range | string list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 |
network.ingress.basic_auth_env_var | string Set the name of an environment variable to use as a basic authentication ( |
network.ingress.enable_sticky_session | boolean Enable the load balancer to bind a user's session to a specific target. This ensures that all requests from the user during the session are sent to the same target |
network.ingress.grpc_send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the grpc server |
network.ingress.grpc_read_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the grpc server |
network.ingress.extra_headers | string Allows to define response headers |
hpa.cpu.average_utilization_percent | integer Percentage value of cpu usage at which point pods should scale up. |
security.service_account_name | string Allows you to set an existing Kubernetes service account name |
security.automount_service_account_token | boolean Automount Kubernetes service account token to have access to Kubernetes API from pods |
security.read_only_root_filesystem | boolean Mounts the container's root filesystem as read-only |
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.lifecycle.post_start_exec_command": [
- "string"
], - "deployment.lifecycle.pre_stop_exec_command": [
- "string"
], - "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "hpa.cpu.average_utilization_percent": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.lifecycle.post_start_exec_command": [
- "string"
], - "deployment.lifecycle.pre_stop_exec_command": [
- "string"
], - "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "hpa.cpu.average_utilization_percent": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
applicationId required | string <uuid> Application ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
]
}
Add a custom domain to this application in order not to use qovery autogenerated domain
applicationId required | string <uuid> Application ID |
domain required | string your custom domain |
generate_certificate required | boolean to control if a certificate has to be generated for this custom domain by Qovery. The default value is |
use_cdn | boolean Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment:
|
{- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
To edit a Custom Domain you must have the project user permission
applicationId required | string <uuid> Application ID |
customDomainId required | string <uuid> Custom Domain ID |
domain required | string your custom domain |
generate_certificate required | boolean to control if a certificate has to be generated for this custom domain by Qovery. The default value is |
use_cdn | boolean Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment:
|
{- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
applicationId required | string <uuid> Application ID |
customDomainId required | string <uuid> Custom Domain ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
This will list the last 1000 logs of the application
applicationId required | string <uuid> Application ID |
{- "results": [
- {
- "id": "4aa76065-68b3-41ef-aa1d-46be67012bef",
- "created_at": "2022-04-19T15:36:12.024Z",
- "message": "string",
- "pod_name": "app-z4aa76065-57d84cbbdb-xcg8v",
- "version": "2bfd61fe45946c74f318050b26210be486c43a39"
}
]
}
Get application deployment restrictions
applicationId required | string <uuid> Application ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "application1/src/"
}
]
}
Create an application deployment restriction
applicationId required | string <uuid> Application ID |
mode required | string (DeploymentRestrictionModeEnum) Enum: "EXCLUDE" "MATCH" Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated. |
type required | string (DeploymentRestrictionTypeEnum) Value: "PATH" |
value required | string For |
{- "mode": "MATCH",
- "type": "PATH",
- "value": "application1/src/"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "application1/src/"
}
Edit an application deployment restriction
applicationId required | string <uuid> Application ID |
deploymentRestrictionId required | string <uuid> Deployment Restriction ID |
mode required | string (DeploymentRestrictionModeEnum) Enum: "EXCLUDE" "MATCH" Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated. |
type required | string (DeploymentRestrictionTypeEnum) Value: "PATH" |
value required | string For |
{- "mode": "MATCH",
- "type": "PATH",
- "value": "application1/src/"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "application1/src/"
}
By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
applicationId required | string <uuid> Application ID |
startId | string <uuid> Starting point after which to return results |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "status": "FAILED"
}
]
}
By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter. You can also filter by status (FAILED or SUCCESS), and git_commit_id
applicationId required | string <uuid> Application ID |
startId | string <uuid> Starting point after which to return results |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "identifier": {
- "name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "APPLICATION",
- "execution_id": "string"
}, - "status": "BUILDING",
- "auditing_data": {
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "triggered_by": "string",
- "origin": "API"
}, - "details": {
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
}
}
]
}
applicationId required | string <uuid> Application ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
]
}
applicationId required | string <uuid> Application ID |
key required | string key is case sensitive. |
value | string value of the env variable. |
mount_path | string or null Default: null should be set for file only. variable mount path makes variable a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
Import environment variables in a defined scope, with a defined visibility.
applicationId required | string <uuid> Application ID |
overwrite required | boolean Default: false |
required | Array of objects |
{- "overwrite": false,
- "vars": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
{- "total_variables_to_import": 0,
- "successful_imported_variables": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
applicationId required | string <uuid> Application ID |
environmentVariableId required | string <uuid> Environment Variable ID |
applicationId required | string <uuid> Application ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string key is case sensitive |
value | string value of the env variable. |
mount_path | string or null |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
applicationId required | string <uuid> Application ID |
environmentVariableId required | string <uuid> Environment Variable ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
applicationId required | string <uuid> Application ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
Secrets are like environment variables, but they are secured and can't be revealed.
applicationId required | string <uuid> Application ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
]
}
applicationId required | string <uuid> Application ID |
key required | string key is case sensitive |
value | string value of the secret. Clear value will never be returned |
mount_path | string or null Default: null should be set for file only. variable mount path make secret a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 character maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
applicationId required | string <uuid> Application ID |
secretId required | string <uuid> Secret ID |
applicationId required | string <uuid> Application ID |
secretId required | string <uuid> Secret ID |
value | string |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
applicationId required | string <uuid> Application ID |
secretId required | string <uuid> Secret ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
applicationId required | string <uuid> Application ID |
secretId required | string <uuid> Secret ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
containerId required | string <uuid> Container ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}, - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "arguments": [
- "string"
], - "entrypoint": "string",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
containerId required | string <uuid> Container ID |
Array of objects | |
Array of objects | |
name required | string name is case insensitive |
description | string give a description to this container |
registry_id required | string id of the linked registry |
image_name required | string The image name pattern differs according to chosen container registry provider:
|
tag required | string tag of the image container |
arguments | Array of strings |
entrypoint | string optional entrypoint when launching container |
cpu | integer Default: 500 unit is millicores (m). 1000m = 1 cpu |
memory | integer Default: 512 unit is MB. 1024 MB = 1GB |
min_running_instances | integer >= 0 Default: 1 Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running. |
max_running_instances | integer Default: 1 Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit. |
required | object (Healthcheck) |
auto_preview | boolean Indicates if the 'environment preview option' is enabled for this container. |
auto_deploy | boolean or null Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the "Auto Deploy container" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the container. |
{- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "name": "string",
- "description": "string",
- "registry_id": "string",
- "image_name": "string",
- "tag": "string",
- "arguments": [
- "string"
], - "entrypoint": "string",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}, - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "arguments": [
- "string"
], - "entrypoint": "string",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
containerId required | string <uuid> Container ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
This will return all the custom domains and Qovery autogenerated domain for the given container
containerId required | string <uuid> Container ID |
{- "results": [
- {
- "url": "string",
- "internal_port": 0,
- "external_port": 0,
- "is_qovery_domain": true,
- "is_default": true
}
]
}
You must provide a git commit id
containerId required | string <uuid> Container ID |
image_tag required | string Image tag to deploy |
{- "image_tag": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
containerId required | string <uuid> Container ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
containerId required | string <uuid> Container ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
containerId required | string <uuid> Container ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Get list and values of the advanced settings of the container. Default values for each setting are available in our documentation
containerId required | string <uuid> Container ID |
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "security.service_account_name": "string",
- "hpa.cpu.average_utilization_percent": 0,
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
Edit advanced settings by returning table of advanced settings.
containerId required | string <uuid> Container ID |
deployment.custom_domain_check_enabled | boolean disable custom domain check when deploying an application |
deployment.termination_grace_period_seconds | integer define how long in seconds an application is supposed to be stopped gracefully |
object Set pod placement on specific Kubernetes nodes labels | |
deployment.antiaffinity.pod | string Enum: "Preferred" "Requirred" Define how you want pods affinity to behave:
|
deployment.update_strategy.type | string Enum: "RollingUpdate" "Recreate"
|
deployment.update_strategy.rolling_update.max_unavailable_percent | integer Define the percentage of a maximum number of pods that can be unavailable during the update process |
deployment.update_strategy.rolling_update.max_surge_percent | integer Define the percentage of the maximum number of pods that can be created over the desired number of pods |
network.ingress.proxy_body_size_mb | integer |
network.ingress.enable_cors | boolean |
network.ingress.cors_allow_origin | string |
network.ingress.cors_allow_methods | string |
network.ingress.cors_allow_headers | string |
network.ingress.proxy_buffer_size_kb | integer header buffer size used while reading response header from upstream |
network.ingress.keepalive_time_seconds | integer Limits the maximum time (in seconds) during which requests can be processed through one keepalive connection |
network.ingress.keepalive_timeout_seconds | integer Sets a timeout (in seconds) during which an idle keepalive connection to an upstream server will stay open. |
network.ingress.send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a response to the client |
network.ingress.proxy_connect_timeout_seconds | integer Sets a timeout (in seconds) for establishing a connection to a proxied server |
network.ingress.proxy_send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the proxied server |
network.ingress.proxy_read_timeout_seconds | integer Sets a timeout (in seconds) for reading a response from the proxied server |
network.ingress.proxy_buffering | string Allows to enable or disable nginx |
network.ingress.proxy_request_buffering | string Allows to enable or disable nginx |
network.ingress.grpc_send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the grpc server |
network.ingress.grpc_read_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the grpc server |
network.ingress.whitelist_source_range | string list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0. |
network.ingress.denylist_source_range | string list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 |
network.ingress.extra_headers | string Allows to define response headers |
network.ingress.basic_auth_env_var | string Set the name of an environment variable to use as a basic authentication ( |
network.ingress.enable_sticky_session | boolean Enable the load balancer to bind a user's session to a specific target. This ensures that all requests from the user during the session are sent to the same target |
security.service_account_name | string Allows you to set an existing Kubernetes service account name |
hpa.cpu.average_utilization_percent | integer Percentage value of cpu usage at which point pods should scale up. |
security.automount_service_account_token | boolean Automount Kubernetes service account token to have access to Kubernetes API from pods |
security.read_only_root_filesystem | boolean Mounts the container's root filesystem as read-only |
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "security.service_account_name": "string",
- "hpa.cpu.average_utilization_percent": 0,
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
{- "deployment.custom_domain_check_enabled": true,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "deployment.antiaffinity.pod": "Preferred",
- "deployment.update_strategy.type": "RollingUpdate",
- "deployment.update_strategy.rolling_update.max_unavailable_percent": 0,
- "deployment.update_strategy.rolling_update.max_surge_percent": 0,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true,
- "security.service_account_name": "string",
- "hpa.cpu.average_utilization_percent": 0,
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
Edit the Network settings of the container.
containerId required | string <uuid> Container ID |
sticky_session | boolean Default: false Specify if the sticky session option (also called persistant session) is activated or not for this container. If activated, user will be redirected by the load balancer to the same instance each time he access to the container. |
{- "sticky_session": false
}
{- "sticky_session": false
}
containerId required | string <uuid> Container ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
]
}
Add a custom domain to this container in order not to use qovery autogenerated domain
containerId required | string <uuid> Container ID |
domain required | string your custom domain |
generate_certificate required | boolean to control if a certificate has to be generated for this custom domain by Qovery. The default value is |
use_cdn | boolean Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment:
|
{- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
To edit a Custom Domain you must have the project user permission
containerId required | string <uuid> Container ID |
customDomainId required | string <uuid> Custom Domain ID |
domain required | string your custom domain |
generate_certificate required | boolean to control if a certificate has to be generated for this custom domain by Qovery. The default value is |
use_cdn | boolean Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment:
|
{- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
containerId required | string <uuid> Container ID |
customDomainId required | string <uuid> Custom Domain ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
This will list the last 1000 logs of the container
containerId required | string <uuid> Container ID |
{- "results": [
- {
- "id": "4aa76065-68b3-41ef-aa1d-46be67012bef",
- "created_at": "2022-04-19T15:36:12.024Z",
- "message": "string",
- "pod_name": "app-z4aa76065-57d84cbbdb-xcg8v",
- "version": "2bfd61fe45946c74f318050b26210be486c43a39"
}
]
}
Returns the 20 last container deployments
containerId required | string <uuid> Container ID |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "image_name": "string",
- "tag": "string",
- "arguments": [
- "string"
], - "entrypoint": "string"
}
]
}
Returns the 20 last container deployments
containerId required | string <uuid> Container ID |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "identifier": {
- "name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "APPLICATION",
- "execution_id": "string"
}, - "status": "BUILDING",
- "auditing_data": {
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "triggered_by": "string",
- "origin": "API"
}, - "details": {
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
}
}
]
}
containerId required | string <uuid> Container ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
]
}
containerId required | string <uuid> Container ID |
key required | string key is case sensitive. |
value | string value of the env variable. |
mount_path | string or null Default: null should be set for file only. variable mount path makes variable a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
Import environment variables in a defined scope, with a defined visibility.
containerId required | string <uuid> Container ID |
overwrite required | boolean Default: false |
required | Array of objects |
{- "overwrite": false,
- "vars": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
{- "total_variables_to_import": 0,
- "successful_imported_variables": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
containerId required | string <uuid> Container ID |
environmentVariableId required | string <uuid> Environment Variable ID |
containerId required | string <uuid> Container ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string key is case sensitive |
value | string value of the env variable. |
mount_path | string or null |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
containerId required | string <uuid> Container ID |
environmentVariableId required | string <uuid> Environment Variable ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
containerId required | string <uuid> Container ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
Secrets are like environment variables, but they are secured and can't be revealed.
containerId required | string <uuid> Container ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
]
}
containerId required | string <uuid> Container ID |
key required | string key is case sensitive |
value | string value of the secret. Clear value will never be returned |
mount_path | string or null Default: null should be set for file only. variable mount path make secret a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 character maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
containerId required | string <uuid> Container ID |
secretId required | string <uuid> Secret ID |
containerId required | string <uuid> Container ID |
secretId required | string <uuid> Secret ID |
value | string |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
containerId required | string <uuid> Container ID |
secretId required | string <uuid> Secret ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
containerId required | string <uuid> Container ID |
secretId required | string <uuid> Secret ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
databaseId required | string <uuid> Database ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "MONGODB",
- "version": "10.1",
- "mode": "CONTAINER",
- "accessibility": "PRIVATE",
- "cpu": 1250,
- "instance_type": "db.t3.medium",
- "memory": 1024,
- "storage": 10,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "host": "string",
- "port": 5432,
- "maximum_cpu": 1250,
- "maximum_memory": 1024,
- "disk_encrypted": true
}
To edit a database you must have the admin permission
databaseId required | string <uuid> Database ID |
name | string name is case-insensitive |
description | string give a description to this database |
version | string |
accessibility | string (DatabaseAccessibilityEnum) Default: "PRIVATE" Enum: "PRIVATE" "PUBLIC" |
cpu | integer Default: 250 unit is millicores (m). 1000m = 1 cpu. This field will be ignored for managed DB (instance type will be used instead). |
memory | integer unit is MB. 1024 MB = 1GB This field will be ignored for managed DB (instance type will be used instead). Default value is linked to the database type:
|
storage | integer unit is GB |
instance_type | string Database instance type to be used for this database. The list of values can be retrieved via the endpoint /{CloudProvider}/managedDatabase/instanceType/{region}/{dbType}. This field SHOULD NOT be set for container DB. |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the database. |
{- "name": "string",
- "description": "string",
- "version": "10.1",
- "accessibility": "PRIVATE",
- "cpu": 1250,
- "memory": 1024,
- "storage": 4,
- "instance_type": "db.t3.medium",
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "type": "MONGODB",
- "version": "10.1",
- "mode": "CONTAINER",
- "accessibility": "PRIVATE",
- "cpu": 1250,
- "instance_type": "db.t3.medium",
- "memory": 1024,
- "storage": 10,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "host": "string",
- "port": 5432,
- "maximum_cpu": 1250,
- "maximum_memory": 1024,
- "disk_encrypted": true
}
databaseId required | string <uuid> Database ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
databaseId required | string <uuid> Database ID |
login required | string |
password required | string |
{- "login": "string",
- "password": "string"
}
{- "host": "string",
- "port": 0,
- "login": "string",
- "password": "string"
}
databaseId required | string <uuid> Database ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
databaseId required | string <uuid> Database ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
databaseId required | string <uuid> Database ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
databaseId required | string <uuid> Database ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
By default it returns the 20 last results. The response is paginated.
databaseId required | string <uuid> Database ID |
startId | string <uuid> Starting point after which to return results |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING"
}
]
}
By default it returns the 20 last results. The response is paginated.
databaseId required | string <uuid> Database ID |
startId | string <uuid> Starting point after which to return results |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "identifier": {
- "name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "APPLICATION",
- "execution_id": "string"
}, - "status": "BUILDING",
- "auditing_data": {
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "triggered_by": "string",
- "origin": "API"
}, - "details": {
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
}
}
]
}
databaseId required | string <uuid> Database ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "storage": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FAST_SSD",
- "size": 16,
- "mount_point": "/mnt/images"
}
], - "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "build_mode": "BUILDPACKS",
- "dockerfile_path": "string",
- "buildpack_language": "CLOJURE",
- "cpu": 1250,
- "memory": 1024,
- "min_running_instances": 1,
- "max_running_instances": 1,
- "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_preview": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "publicly_accessible": true,
- "is_default": true,
- "protocol": "HTTP"
}
], - "arguments": [
- "string"
], - "entrypoint": "string",
- "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
],
}
]
}
By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
databaseId required | string <uuid> Database ID |
startId | string <uuid> Starting point after which to return results |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "message": "string",
- "status": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
}
]
}
databaseId required | string <uuid> Database ID |
name required | string |
message required | string |
{- "name": "string",
- "message": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "message": "string",
- "status": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
}
jobId required | string <uuid> Job ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "cpu": 1250,
- "memory": 1024,
- "max_nb_restart": 0,
- "max_duration_seconds": 0,
- "auto_preview": true,
- "port": null,
- "source": {
- "image": {
- "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}
}
}, - "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_deploy": true,
- "job_type": "LIFECYCLE",
- "schedule": {
- "on_start": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_stop": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_delete": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "lifecycle_type": "GENERIC"
}, - "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
]
}
jobId required | string <uuid> Job ID |
name required | string name is case insensitive |
description | string |
cpu | integer Default: 500 unit is millicores (m). 1000m = 1 cpu |
memory | integer Default: 512 unit is MB. 1024 MB = 1GB |
max_nb_restart | integer >= 0 Default: 0 Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed |
max_duration_seconds | integer >= 0 Maximum number of seconds allowed for the job to run before killing it and mark it as failed |
auto_preview | boolean Indicates if the 'environment preview option' is enabled for this container. |
port | integer or null >= 1 Default: null Port where to run readiness and liveliness probes checks. The port will not be exposed externally |
object | |
required | object (Healthcheck) |
object If you want to define a Cron job, only the | |
auto_deploy | boolean or null Specify if the job will be automatically updated after receiving a new image tag or a new commit according to the source type. The new image tag shall be communicated via the "Auto Deploy job" endpoint https://api-doc.qovery.com/#tag/Jobs/operation/autoDeployJobEnvironments |
Array of objects (ServiceAnnotationsRequestList) | |
Array of objects (ServiceLabelsRequestList) | |
icon_uri | string <uri> Icon URI representing the job. |
{- "name": "string",
- "description": "string",
- "cpu": 1250,
- "memory": 1024,
- "max_nb_restart": 0,
- "max_duration_seconds": 0,
- "auto_preview": true,
- "port": null,
- "source": {
- "image": {
- "image_name": "string",
- "tag": "string",
- "registry_id": "string"
}, - "docker": {
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}, - "dockerfile_path": "string",
- "dockerfile_raw": "string"
}
}, - "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "schedule": {
- "on_start": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_stop": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_delete": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "cronjob": {
- "arguments": [
- "string"
], - "entrypoint": "string",
- "timezone": "string",
- "scheduled_at": "string"
}, - "lifecycle_type": "GENERIC"
}, - "auto_deploy": true,
- "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "maximum_cpu": 16000,
- "maximum_memory": 16384,
- "name": "string",
- "description": "string",
- "cpu": 1250,
- "memory": 1024,
- "max_nb_restart": 0,
- "max_duration_seconds": 0,
- "auto_preview": true,
- "port": null,
- "source": {
- "image": {
- "image_name": "string",
- "tag": "string",
- "registry_id": "string",
- "registry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "url": "string",
- "kind": "ECR"
}
}
}, - "healthchecks": {
- "readiness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}, - "liveness_probe": {
- "type": {
- "tcp": {
- "port": 0,
- "host": null
}, - "http": {
- "path": "/",
- "scheme": "HTTP",
- "port": 0
}, - "exec": {
- "command": [
- "string"
]
}, - "grpc": {
- "service": null,
- "port": 0
}
}, - "initial_delay_seconds": 30,
- "period_seconds": 10,
- "timeout_seconds": 5,
- "success_threshold": 1,
- "failure_threshold": 9
}
}, - "auto_deploy": true,
- "job_type": "LIFECYCLE",
- "schedule": {
- "on_start": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_stop": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "on_delete": {
- "arguments": [
- "string"
], - "entrypoint": "string"
}, - "lifecycle_type": "GENERIC"
}, - "annotations_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "annotations": [
- {
- "key": "string",
- "value": "string"
}
], - "scopes": [
- "DEPLOYMENTS"
]
}
], - "labels_groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "labels": [
- {
- "key": "string",
- "value": "string",
- "propagate_to_cloud_provider": true
}
]
}
]
}
jobId required | string <uuid> Job ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Returns list of the last 100 commits made on the repository linked to the job
jobId required | string <uuid> Job ID |
startId | string <uuid> Starting point after which to return results |
gitCommitId | string <uuid> Git Commit ID |
{- "results": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
]
}
You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
jobId required | string <uuid> Job ID |
forceEvent | string (JobForceEvent) Enum: "START" "STOP" "DELETE" "CRON" When filled, it indicates the target event to be deployed. |
image_tag | string Image tag to deploy. |
git_commit_id | string Commit to deploy
Cannot be set if |
{- "image_tag": "string",
- "git_commit_id": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
jobId required | string <uuid> Job ID |
forceEvent | string (JobForceEvent) Enum: "START" "STOP" "DELETE" "CRON" When filled, it indicates the target event to be deployed. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
jobId required | string <uuid> Job ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Get list and values of the advanced settings of the job. Default values for each setting are available in our documentation
jobId required | string <uuid> Job ID |
{- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "job.delete_ttl_seconds_after_finished": 0,
- "cronjob.concurrency_policy": "string",
- "cronjob.failed_jobs_history_limit": 0,
- "cronjob.success_jobs_history_limit": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
Edit advanced settings by returning table of advanced settings.
jobId required | string <uuid> Job ID |
build.timeout_max_sec | integer define the max timeout for the build |
build.cpu_max_in_milli | integer define the max cpu resources (in milli) |
build.ram_max_in_gib | integer define the max ram resources (in gib) |
deployment.termination_grace_period_seconds | integer define how long in seconds an application is supposed to be stopped gracefully |
object Set pod placement on specific Kubernetes nodes labels | |
job.delete_ttl_seconds_after_finished | integer or null |
cronjob.concurrency_policy | string |
cronjob.failed_jobs_history_limit | integer |
cronjob.success_jobs_history_limit | integer |
security.service_account_name | string Allows you to set an existing Kubernetes service account name |
security.automount_service_account_token | boolean Automount Kubernetes service account token to have access to Kubernetes API from pods |
security.read_only_root_filesystem | boolean Mounts the container's root filesystem as read-only |
{- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "job.delete_ttl_seconds_after_finished": 0,
- "cronjob.concurrency_policy": "string",
- "cronjob.failed_jobs_history_limit": 0,
- "cronjob.success_jobs_history_limit": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
{- "build.timeout_max_sec": 0,
- "build.cpu_max_in_milli": 0,
- "build.ram_max_in_gib": 0,
- "deployment.termination_grace_period_seconds": 0,
- "deployment.affinity.node.required": {
- "property1": "string",
- "property2": "string"
}, - "job.delete_ttl_seconds_after_finished": 0,
- "cronjob.concurrency_policy": "string",
- "cronjob.failed_jobs_history_limit": 0,
- "cronjob.success_jobs_history_limit": 0,
- "security.service_account_name": "string",
- "security.automount_service_account_token": true,
- "security.read_only_root_filesystem": true
}
Get job deployment restrictions
jobId required | string <uuid> Job ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "job1/src/"
}
]
}
Create a job deployment restriction
jobId required | string <uuid> Job ID |
mode required | string (DeploymentRestrictionModeEnum) Enum: "EXCLUDE" "MATCH" Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated. |
type required | string (DeploymentRestrictionTypeEnum) Value: "PATH" |
value required | string For |
{- "mode": "MATCH",
- "type": "PATH",
- "value": "job1/src/"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "job1/src/"
}
Edit a job deployment restriction
jobId required | string <uuid> Job ID |
deploymentRestrictionId required | string <uuid> Deployment Restriction ID |
mode required | string (DeploymentRestrictionModeEnum) Enum: "EXCLUDE" "MATCH" Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated. |
type required | string (DeploymentRestrictionTypeEnum) Value: "PATH" |
value required | string For |
{- "mode": "MATCH",
- "type": "PATH",
- "value": "job1/src/"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "job1/src/"
}
Returns the 20 last job deployments
jobId required | string <uuid> Job ID |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "image_name": "string",
- "tag": "string",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "schedule": {
- "event": "ON_START",
- "schedule_at": "string"
}, - "arguments": [
- "string"
], - "entrypoint": "string"
}
]
}
Returns the 20 last job deployments
jobId required | string <uuid> Job ID |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "identifier": {
- "name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "APPLICATION",
- "execution_id": "string"
}, - "status": "BUILDING",
- "auditing_data": {
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "triggered_by": "string",
- "origin": "API"
}, - "details": {
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
}
}
]
}
jobId required | string <uuid> Job ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
]
}
jobId required | string <uuid> Job ID |
key required | string key is case sensitive. |
value | string value of the env variable. |
mount_path | string or null Default: null should be set for file only. variable mount path makes variable a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
Import environment variables in a defined scope, with a defined visibility.
jobId required | string <uuid> Job ID |
overwrite required | boolean Default: false |
required | Array of objects |
{- "overwrite": false,
- "vars": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
{- "total_variables_to_import": 0,
- "successful_imported_variables": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
jobId required | string <uuid> Job ID |
environmentVariableId required | string <uuid> Environment Variable ID |
jobId required | string <uuid> Job ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string key is case sensitive |
value | string value of the env variable. |
mount_path | string or null |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
jobId required | string <uuid> Job ID |
environmentVariableId required | string <uuid> Environment Variable ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
jobId required | string <uuid> Job ID |
environmentVariableId required | string <uuid> Environment Variable ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true,
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string"
}
Secrets are like environment variables, but they are secured and can't be revealed.
jobId required | string <uuid> Job ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
]
}
jobId required | string <uuid> Job ID |
key required | string key is case sensitive |
value | string value of the secret. Clear value will never be returned |
mount_path | string or null Default: null should be set for file only. variable mount path make secret a file (where file should be mounted). |
description | string or null <= 255 characters optional variable description (255 character maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": null,
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
jobId required | string <uuid> Job ID |
secretId required | string <uuid> Secret ID |
jobId required | string <uuid> Job ID |
secretId required | string <uuid> Secret ID |
value | string |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
jobId required | string <uuid> Job ID |
secretId required | string <uuid> Secret ID |
value | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
jobId required | string <uuid> Job ID |
secretId required | string <uuid> Secret ID |
key required | string |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "overridden_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "aliased_secret": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "QOVERY_DATABASE_PSQL_NAME",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE",
- "description": "string",
- "enable_interpolation_in_file": true
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
helmId required | string <uuid> Helm ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "timeout_sec": 600,
- "auto_preview": true,
- "auto_deploy": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "port_type": "string",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "namespace": "string",
- "protocol": "HTTP",
- "is_default": true,
- "service_name": "string"
}
], - "source": {
- "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}
}
}, - "arguments": [
- "string"
], - "allow_cluster_wide_resources": false,
- "values_override": {
- "set": [
- [
- "string"
]
], - "set_string": [
- [
- "string"
]
], - "set_json": [
- [
- "string"
]
], - "file": {
- "raw": {
- "values": [
- {
- "name": "string",
- "content": "string"
}
]
}, - "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "paths": [
- "string"
]
}
}
},
}
helmId required | string <uuid> Helm ID |
Array of objects or objects | |
name required | string name is case insensitive |
description | string |
timeout_sec | integer >= 0 Default: 600 Maximum number of seconds allowed for helm to run before killing it and mark it as failed |
auto_preview | boolean or null Indicates if the 'environment preview option' is enabled. |
auto_deploy required | boolean Specify if the helm will be automatically updated after receiving a new image tag or a new commit according to the source type. |
required | object or object |
arguments required | Array of strings The extra arguments to pass to helm |
allow_cluster_wide_resources | boolean Default: false If we should allow the chart to deploy object outside his specified namespace. Setting this flag to true, requires special rights |
required | object Specify helm values you want to set or override |
icon_uri | string <uri> Icon URI representing the helm service. |
{- "ports": [
- {
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "namespace": "string",
- "protocol": "HTTP",
- "is_default": true,
- "service_selectors": [
- {
- "key": "string",
- "value": "string"
}
]
}
], - "name": "string",
- "description": "string",
- "timeout_sec": 600,
- "auto_preview": true,
- "auto_deploy": true,
- "source": {
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}
}, - "arguments": [
- "string"
], - "allow_cluster_wide_resources": false,
- "values_override": {
- "set": [
- [
- "string"
]
], - "set_string": [
- [
- "string"
]
], - "set_json": [
- [
- "string"
]
], - "file": {
- "git": {
- "git_repository": {
- "branch": "feat/text_xxx",
- "root_path": "/",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38"
}, - "paths": [
- "string"
]
}, - "raw": {
- "values": [
- {
- "name": "string",
- "content": "string"
}
]
}
}
},
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": "string",
- "description": "string",
- "timeout_sec": 600,
- "auto_preview": true,
- "auto_deploy": true,
- "ports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "port_type": "string",
- "name": "string",
- "internal_port": 8080,
- "external_port": 8080,
- "namespace": "string",
- "protocol": "HTTP",
- "is_default": true,
- "service_name": "string"
}
], - "source": {
- "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}
}
}, - "arguments": [
- "string"
], - "allow_cluster_wide_resources": false,
- "values_override": {
- "set": [
- [
- "string"
]
], - "set_string": [
- [
- "string"
]
], - "set_json": [
- [
- "string"
]
], - "file": {
- "raw": {
- "values": [
- {
- "name": "string",
- "content": "string"
}
]
}, - "git": {
- "git_repository": {
- "has_access": true,
- "provider": "BITBUCKET",
- "owner": "John Doe",
- "name": "simple-node-app",
- "branch": "string",
- "root_path": "string",
- "deployed_commit_id": "string",
- "deployed_commit_date": "2019-08-24T14:15:22Z",
- "deployed_commit_contributor": "4156f3f4-0b43-4670-b2ef-cd6803200694",
- "deployed_commit_tag": "v1.0.1",
- "git_token_id": "dba3bec7-f1f3-4fa9-84ee-eb38a4092d38",
- "git_token_name": "string"
}, - "paths": [
- "string"
]
}
}
},
}
Returns list of the last 100 commits made on the repository linked to helm
helmId required | string <uuid> Helm ID |
of | string Default: "chart" Source of git commit. Can be 'chart' or 'values' |
{- "results": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
]
}
helmId required | string <uuid> Helm ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
This will return all the custom domains and Qovery autogenerated domain for the given helm
helmId required | string <uuid> Helm ID |
{- "results": [
- {
- "url": "string",
- "internal_port": 0,
- "external_port": 0,
- "is_qovery_domain": true,
- "is_default": true
}
]
}
Get helm kubernetes services
helmId required | string |
{- "results": [
- {
- "metadata": {
- "name": "string"
}, - "service_spec": {
- "type": "string",
- "ports": [
- {
- "name": "string",
- "port": 0
}
], - "selectors": [
- {
- "key": "string",
- "value": "string"
}
]
}
}
]
}
You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
helmId required | string <uuid> Helm ID |
forceEvent | string (HelmForceEvent) Value: "DIFF" When filled, it indicates the target event to be deployed. |
chart_version | string version of the chart to deploy.
Cannot be set if |
git_commit_id | string Commit to deploy for chart source.
Cannot be set if |
values_override_git_commit_id | string Commit to deploy for values override |
{- "chart_version": "string",
- "git_commit_id": "string",
- "values_override_git_commit_id": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
helmId required | string <uuid> Helm ID |
forceEvent | string (HelmForceEvent) Value: "DIFF" When filled, it indicates the target event to be deployed. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
helmId required | string <uuid> Helm ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "BUILDING",
- "service_deployment_status": "NEVER_DEPLOYED",
- "last_deployment_date": "2019-08-24T14:15:22Z",
- "is_part_last_deployment": true,
- "steps": {
- "total_duration_sec": 0,
- "total_computing_duration_sec": 0,
- "details": [
- {
- "step_name": "REGISTRY_CREATE_REPOSITORY",
- "status": "SUCCESS",
- "duration_sec": 0
}
]
}
}
Get list and values of the advanced settings of the helm.
helmId required | string <uuid> Helm ID |
{- "deployment.custom_domain_check_enabled": true,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true
}
Edit advanced settings by returning table of advanced settings.
helmId required | string <uuid> Helm ID |
deployment.custom_domain_check_enabled | boolean disable custom domain check when deploying a helm |
network.ingress.proxy_body_size_mb | integer |
network.ingress.enable_cors | boolean |
network.ingress.cors_allow_origin | string |
network.ingress.cors_allow_methods | string |
network.ingress.cors_allow_headers | string |
network.ingress.proxy_buffer_size_kb | integer header buffer size used while reading response header from upstream |
network.ingress.keepalive_time_seconds | integer Limits the maximum time (in seconds) during which requests can be processed through one keepalive connection |
network.ingress.keepalive_timeout_seconds | integer Sets a timeout (in seconds) during which an idle keepalive connection to an upstream server will stay open. |
network.ingress.send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a response to the client |
network.ingress.proxy_connect_timeout_seconds | integer Sets a timeout (in seconds) for establishing a connection to a proxied server |
network.ingress.proxy_send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the proxied server |
network.ingress.proxy_read_timeout_seconds | integer Sets a timeout (in seconds) for reading a response from the proxied server |
network.ingress.proxy_buffering | string Allows to enable or disable nginx |
network.ingress.proxy_request_buffering | string Allows to enable or disable nginx |
network.ingress.grpc_send_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the grpc server |
network.ingress.grpc_read_timeout_seconds | integer Sets a timeout (in seconds) for transmitting a request to the grpc server |
network.ingress.whitelist_source_range | string list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0. |
network.ingress.denylist_source_range | string list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 |
network.ingress.extra_headers | string Allows to define response headers |
network.ingress.basic_auth_env_var | string Set the name of an environment variable to use as a basic authentication ( |
network.ingress.enable_sticky_session | boolean Enable the load balancer to bind a user's session to a specific target. This ensures that all requests from the user during the session are sent to the same target |
{- "deployment.custom_domain_check_enabled": true,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true
}
{- "deployment.custom_domain_check_enabled": true,
- "network.ingress.proxy_body_size_mb": 0,
- "network.ingress.enable_cors": true,
- "network.ingress.cors_allow_origin": "string",
- "network.ingress.cors_allow_methods": "string",
- "network.ingress.cors_allow_headers": "string",
- "network.ingress.proxy_buffer_size_kb": 0,
- "network.ingress.keepalive_time_seconds": 0,
- "network.ingress.keepalive_timeout_seconds": 0,
- "network.ingress.send_timeout_seconds": 0,
- "network.ingress.proxy_connect_timeout_seconds": 0,
- "network.ingress.proxy_send_timeout_seconds": 0,
- "network.ingress.proxy_read_timeout_seconds": 0,
- "network.ingress.proxy_buffering": "string",
- "network.ingress.proxy_request_buffering": "string",
- "network.ingress.grpc_send_timeout_seconds": 0,
- "network.ingress.grpc_read_timeout_seconds": 0,
- "network.ingress.whitelist_source_range": "string",
- "network.ingress.denylist_source_range": "string",
- "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}",
- "network.ingress.basic_auth_env_var": "string",
- "network.ingress.enable_sticky_session": true
}
List the custom domains of this helm
helmId required | string <uuid> Helm ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
]
}
Add a custom domain to this helm in order not to use qovery autogenerated domain
helmId required | string <uuid> Helm ID |
domain required | string your custom domain |
generate_certificate required | boolean to control if a certificate has to be generated for this custom domain by Qovery. The default value is |
use_cdn | boolean Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment:
|
{- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
To edit a Custom Domain you must have the project user permission
helmId required | string <uuid> Helm ID |
customDomainId required | string <uuid> Custom Domain ID |
domain required | string your custom domain |
generate_certificate required | boolean to control if a certificate has to be generated for this custom domain by Qovery. The default value is |
use_cdn | boolean Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment:
|
{- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
Get a custom domain
helmId required | string <uuid> Helm ID |
customDomainId required | string <uuid> Custom Domain ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "domain": "my.domain.tld",
- "generate_certificate": true,
- "use_cdn": true,
- "validation_domain": "string",
- "status": "VALIDATION_PENDING"
}
Get helm deployment restrictions
helmId required | string <uuid> Helm ID |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "helm1/src/"
}
]
}
Create a helm deployment restriction
helmId required | string <uuid> Helm ID |
mode required | string (DeploymentRestrictionModeEnum) Enum: "EXCLUDE" "MATCH" Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated. |
type required | string (DeploymentRestrictionTypeEnum) Value: "PATH" |
value required | string For |
{- "mode": "MATCH",
- "type": "PATH",
- "value": "helm1/src/"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "helm1/src/"
}
Edit a helm deployment restriction
helmId required | string <uuid> Helm ID |
deploymentRestrictionId required | string <uuid> Deployment Restriction ID |
mode required | string (DeploymentRestrictionModeEnum) Enum: "EXCLUDE" "MATCH" Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated. |
type required | string (DeploymentRestrictionTypeEnum) Value: "PATH" |
value required | string For |
{- "mode": "MATCH",
- "type": "PATH",
- "value": "helm1/src/"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "mode": "MATCH",
- "type": "PATH",
- "value": "helm1/src/"
}
Returns the 20 last helm deployments
helmId required | string <uuid> Helm ID |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "status": "BUILDING",
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}, - "repository": {
- "chart_name": "string",
- "chart_version": "string"
}
}
]
}
Returns the 20 last helm deployments
helmId required | string <uuid> Helm ID |
{- "page": 1,
- "page_size": 20,
- "results": [
- {
- "identifier": {
- "name": "string",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_type": "APPLICATION",
- "execution_id": "string"
}, - "status": "BUILDING",
- "auditing_data": {
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "triggered_by": "string",
- "origin": "API"
}, - "details": {
- "commit": {
- "created_at": "2019-08-24T14:15:22Z",
- "git_commit_id": "string",
- "tag": "v2.1.1",
- "message": "string",
- "author_name": "string",
- "author_avatar_url": "string",
- "commit_page_url": "string"
}
}
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "nickname": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_picture_url": "string",
- "communication_email": "string"
}
communication_email | string The email to be used for official Qovery communications |
{- "communication_email": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "nickname": "string",
- "first_name": "string",
- "last_name": "string",
- "profile_picture_url": "string",
- "communication_email": "string"
}
{- "total_invited": 2,
}
Returns a list of variables. The result can be filtered by using the query parameters.
parent_id required | string <uuid> it filters the list by returning only the variables accessible by the selected parent_id. This field shall contain the id of a project, environment or service depending on the selected scope. Example, if scope = APPLICATION and parent_id= |
scope required | string (APIVariableScopeEnum) Enum: "APPLICATION" "BUILT_IN" "ENVIRONMENT" "PROJECT" "CONTAINER" "JOB" "HELM" the type of the parent_id (application, project, environment etc..). |
is_secret | boolean or null it filters the list by returning only the variables of type secret or not |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "is_secret": true,
- "description": "string",
- "enable_interpolation_in_file": true
}
]
}
key required | string the key of the environment variable |
value required | string the value of the environment variable |
mount_path | string or null the path where the file will be mounted (only if type =file) |
is_secret required | boolean if true, the variable will be considered as a secret and will not be accessible after its creation. Only your applications will be able to access its value at build and run time. |
variable_scope required | string (APIVariableScopeEnum) Enum: "APPLICATION" "BUILT_IN" "ENVIRONMENT" "PROJECT" "CONTAINER" "JOB" "HELM" |
variable_parent_id required | string <uuid> based on the selected scope, it contains the ID of the service, environment or project where the variable is attached |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "mount_path": "string",
- "is_secret": true,
- "variable_scope": "APPLICATION",
- "variable_parent_id": "670816cf-0e4b-4049-967a-2b704abf633f",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "is_secret": true,
- "description": "string",
- "enable_interpolation_in_file": true
}
variableId required | string <uuid> Variable ID |
key required | string the value to be used as Alias of the targeted environment variable. |
alias_scope required | string (APIVariableScopeEnum) Enum: "APPLICATION" "BUILT_IN" "ENVIRONMENT" "PROJECT" "CONTAINER" "JOB" "HELM" |
alias_parent_id required | string <uuid> the id of the variable that is aliased. |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "alias_scope": "APPLICATION",
- "alias_parent_id": "334fccf2-1e41-467f-9287-9ccbc7f67e1d",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "is_secret": true,
- "description": "string",
- "enable_interpolation_in_file": true
}
variableId required | string <uuid> Variable ID |
value required | string the value to be used as Override of the targeted environment variable. |
override_scope required | string (APIVariableScopeEnum) Enum: "APPLICATION" "BUILT_IN" "ENVIRONMENT" "PROJECT" "CONTAINER" "JOB" "HELM" |
override_parent_id required | string <uuid> the id of the variable that is aliased. |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "value": "string",
- "override_scope": "APPLICATION",
- "override_parent_id": "07059dc0-da07-4335-9fd4-fd771d761257",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "is_secret": true,
- "description": "string",
- "enable_interpolation_in_file": true
}
variableId required | string <uuid> Variable ID |
key required | string the key of the environment variable |
value | string or null the value of the environment variable |
description | string or null <= 255 characters optional variable description (255 characters maximum) |
enable_interpolation_in_file | boolean or null |
{- "key": "string",
- "value": "string",
- "description": "string",
- "enable_interpolation_in_file": true
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "overridden_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "string",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "aliased_variable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "key": "DATABASE_PSQL_NAME",
- "value": "string",
- "mount_path": "string",
- "scope": "APPLICATION",
- "variable_type": "VALUE"
}, - "scope": "APPLICATION",
- "variable_type": "VALUE",
- "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
- "service_name": "string",
- "service_type": "APPLICATION",
- "owned_by": "string",
- "is_secret": true,
- "description": "string",
- "enable_interpolation_in_file": true
}
Import environment variables in a defined scope, with a defined visibility.
service_id required | string <uuid> service id |
service_type required | string (ServiceTypeForVariableEnum) Enum: "APPLICATION" "CONTAINER" "JOB" "HELM" service type |
overwrite required | boolean Default: false |
required | Array of objects |
{- "overwrite": false,
- "vars": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
{- "total_variables_to_import": 0,
- "successful_imported_variables": [
- {
- "name": "string",
- "value": "string",
- "scope": "APPLICATION",
- "is_secret": true
}
]
}
environmentId required | string |
lifecycleTemplateId required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "cloud_provider": "AWS",
- "events": [
- {
- "name": "string",
- "entrypoint": "string",
- "command": [
- "string"
]
}
], - "max_duration_in_sec": 0,
- "resources": {
- "cpu_milli": 0,
- "ram_mib": 0
}, - "variables": [
- {
- "name": "string",
- "description": "string",
- "default": "string",
- "is_secret": true,
- "file": {
- "path": "string",
- "enable_interpolation": false
}
}
], - "dockerfile": "string"
}
Retrieve the Sign Up information of the user
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "first_name": "string",
- "last_name": "string",
- "user_email": "string",
- "type_of_use": "PERSONAL",
- "qovery_usage": "string",
- "company_name": "string",
- "company_size": "1-10",
- "user_role": "string",
- "qovery_usage_other": "string",
- "user_questions": "string",
- "current_step": "string",
- "dx_auth": true,
- "infrastructure_hosting": "string"
}
Send a Sign Up request containing the user information
first_name required | string |
last_name required | string |
user_email required | string |
type_of_use required | string (TypeOfUseEnum) Enum: "PERSONAL" "SCHOOL" "WORK" |
qovery_usage required | string |
company_name | string or null |
company_size | string (CompanySizeEnum) Enum: "1-10" "11-50" "51-200" "201-500" "500+" |
user_role | string or null |
qovery_usage_other | string or null |
user_questions | string or null |
current_step | string or null |
dx_auth | boolean or null |
infrastructure_hosting | string or null |
{- "first_name": "string",
- "last_name": "string",
- "user_email": "string",
- "type_of_use": "PERSONAL",
- "qovery_usage": "string",
- "company_name": "string",
- "company_size": "1-10",
- "user_role": "string",
- "qovery_usage_other": "string",
- "user_questions": "string",
- "current_step": "string",
- "dx_auth": true,
- "infrastructure_hosting": "string"
}