gitCommitId string <uuid>
Git Commit ID
@@ -3900,13 +3883,13 @@
401 Access token is missing or invalid
get /application/{applicationId}/commit
https://api.qovery.com /application/{applicationId}/commit
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
List all URLs of the application This will return all the custom domains and Qovery autogenerated domain for the given application
+
get /application/{applicationId}/commit
https://api.qovery.com /application/{applicationId}/commit
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
List all URLs of the application This will return all the custom domains and Qovery autogenerated domain for the given application
Responses 401 Access token is missing or invalid
get /application/{applicationId}/link
https://api.qovery.com /application/{applicationId}/link
Response samples Content type application/json
Copy
Expand all Collapse all Deploy application You must provide a git commit id
+
get /application/{applicationId}/link
https://api.qovery.com /application/{applicationId}/link
Response samples Content type application/json
Copy
Expand all Collapse all Deploy application You must provide a git commit id
Request Body schema: application/json
Responses 202 Deploy application
@@ -3915,38 +3898,38 @@
409 Operation is in progress
-post /application/{applicationId}/deploy
https://api.qovery.com /application/{applicationId}/deploy
Request samples Content type application/json
Response samples Content type application/json
{ "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
}
Stop application path Parameters applicationId required
post /application/{applicationId}/deploy
https://api.qovery.com /application/{applicationId}/deploy
Request samples Content type application/json
Response samples Content type application/json
{ "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
}
Stop application Responses 202 Application stop has been requested
401 Access token is missing or invalid
409 Application is already stopped or an operation is in progress
-post /application/{applicationId}/stop
https://api.qovery.com /application/{applicationId}/stop
Response samples Content type application/json
{ "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
}
Deprecated - Restart application Deprecated - Please use the "Redeploy application" endpoint now
+
post /application/{applicationId}/stop
https://api.qovery.com /application/{applicationId}/stop
Response samples Content type application/json
{ "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
}
Deprecated - Restart application Deprecated - Please use the "Redeploy application" endpoint now
Responses 202 Application restart has been requested
401 Access token is missing or invalid
409 Operation is in progress
-post /application/{applicationId}/restart
https://api.qovery.com /application/{applicationId}/restart
Response samples Content type application/json
{ "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
}
Redeploy application path Parameters applicationId required
post /application/{applicationId}/restart
https://api.qovery.com /application/{applicationId}/restart
Response samples Content type application/json
{ "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
}
Redeploy application Responses 202 Application redeploy has been requested
401 Access token is missing or invalid
409 Operation is in progress
-post /application/{applicationId}/redeploy
https://api.qovery.com /application/{applicationId}/redeploy
Response samples Content type application/json
{ "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
}
Reboot application path Parameters applicationId required
post /application/{applicationId}/redeploy
https://api.qovery.com /application/{applicationId}/redeploy
Response samples Content type application/json
{ "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
}
Reboot application Responses 202 Application reboot has been requested
401 Access token is missing or invalid
409 Operation is in progress
-post /application/{applicationId}/restart-service
https://api.qovery.com /application/{applicationId}/restart-service
Response samples Content type application/json
{ "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
}
Application Configuration Get Application Network information Get status of the application network settings.
+
post /application/{applicationId}/restart-service
https://api.qovery.com /application/{applicationId}/restart-service
Response samples Content type application/json
{ "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
}
Application Configuration Get Application Network information Get status of the application network settings.
Responses 401 Access token is missing or invalid
get /application/{applicationId}/network
https://api.qovery.com /application/{applicationId}/network
Response samples Content type application/json
Edit Application Network Edit the Network settings of the application.
+
get /application/{applicationId}/network
https://api.qovery.com /application/{applicationId}/network
Response samples Content type application/json
Edit Application Network Edit the Network settings of the application.
Request Body schema: application/json
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.
@@ -3955,13 +3938,13 @@
401 Access token is missing or invalid
put /application/{applicationId}/network
https://api.qovery.com /application/{applicationId}/network
Request samples Content type application/json
Response samples Content type application/json
Get advanced settings Get list and values of the advanced settings of the application.
+
put /application/{applicationId}/network
https://api.qovery.com /application/{applicationId}/network
Request samples Content type application/json
Response samples Content type application/json
Get advanced settings Get list and values of the advanced settings of the application.
Responses 200 Advanced settings list
401 Access token is missing or invalid
get /application/{applicationId}/advancedSettings
https://api.qovery.com /application/{applicationId}/advancedSettings
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"build.timeout_max_sec" : 1800 ,
"build.cpu_max_in_milli" : 4000 ,
"build.ram_max_in_gib" : 8 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"hpa.cpu.average_utilization_percent" : 60 ,
"security.service_account_name" : ""
}
Edit advanced settings Edit advanced settings by returning table of advanced settings.
+
get /application/{applicationId}/advancedSettings
https://api.qovery.com /application/{applicationId}/advancedSettings
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"build.timeout_max_sec" : 1800 ,
"build.cpu_max_in_milli" : 4000 ,
"build.ram_max_in_gib" : 8 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"hpa.cpu.average_utilization_percent" : 60 ,
"security.service_account_name" : ""
}
Edit advanced settings Edit advanced settings by returning table of advanced settings.
Request Body schema: application/json
deployment.custom_domain_check_enabled boolean
Default: true
disable custom domain check when deploying an application
deployment.termination_grace_period_seconds integer
Default: 60
define how long in seconds an application is supposed to be stopped gracefully
@@ -4005,12 +3988,12 @@
401 Access token is missing or invalid
put /application/{applicationId}/advancedSettings
https://api.qovery.com /application/{applicationId}/advancedSettings
Request samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"build.timeout_max_sec" : 1800 ,
"build.cpu_max_in_milli" : 4000 ,
"build.ram_max_in_gib" : 8 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"hpa.cpu.average_utilization_percent" : 60 ,
"security.service_account_name" : ""
}
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"build.timeout_max_sec" : 1800 ,
"build.cpu_max_in_milli" : 4000 ,
"build.ram_max_in_gib" : 8 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"hpa.cpu.average_utilization_percent" : 60 ,
"security.service_account_name" : ""
}
List application custom domains path Parameters applicationId required
put /application/{applicationId}/advancedSettings
https://api.qovery.com /application/{applicationId}/advancedSettings
Request samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"build.timeout_max_sec" : 1800 ,
"build.cpu_max_in_milli" : 4000 ,
"build.ram_max_in_gib" : 8 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"hpa.cpu.average_utilization_percent" : 60 ,
"security.service_account_name" : ""
}
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"build.timeout_max_sec" : 1800 ,
"build.cpu_max_in_milli" : 4000 ,
"build.ram_max_in_gib" : 8 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"hpa.cpu.average_utilization_percent" : 60 ,
"security.service_account_name" : ""
}
List application custom domains Responses 401 Access token is missing or invalid
get /application/{applicationId}/customDomain
https://api.qovery.com /application/{applicationId}/customDomain
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
} ] }
Add custom domain to the application. Add a custom domain to this application in order not to use qovery autogenerated domain
+
get /application/{applicationId}/customDomain
https://api.qovery.com /application/{applicationId}/customDomain
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
} ] }
Add custom domain to the application. Add a custom domain to this application in order not to use qovery autogenerated domain
Request Body schema: application/json
Responses 201 Added application custom domain
@@ -4018,7 +4001,7 @@
401 Access token is missing or invalid
post /application/{applicationId}/customDomain
https://api.qovery.com /application/{applicationId}/customDomain
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Edit a Custom Domain To edit a Custom Domain you must have the project user permission
+
post /application/{applicationId}/customDomain
https://api.qovery.com /application/{applicationId}/customDomain
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Edit a Custom Domain To edit a Custom Domain you must have the project user permission
path Parameters applicationId required
customDomainId required
Request Body schema: application/json
domain required
string
your custom domain
@@ -4027,7 +4010,7 @@
401 Access token is missing or invalid
put /application/{applicationId}/customDomain/{customDomainId}
https://api.qovery.com /application/{applicationId}/customDomain/{customDomainId}
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Delete a Custom Domain To delete an CustomDomain you must have the project user permission
+
put /application/{applicationId}/customDomain/{customDomainId}
https://api.qovery.com /application/{applicationId}/customDomain/{customDomainId}
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Delete a Custom Domain To delete an CustomDomain you must have the project user permission
path Parameters applicationId required
customDomainId required
Responses 204 The resource was deleted successfully
@@ -4040,60 +4023,60 @@
401 Access token is missing or invalid
get /application/{applicationId}/customDomain/{customDomainId}/status
https://api.qovery.com /application/{applicationId}/customDomain/{customDomainId}/status
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
List currently running instances of the application with their CPU and RAM metrics path Parameters applicationId required
get /application/{applicationId}/customDomain/{customDomainId}/status
https://api.qovery.com /application/{applicationId}/customDomain/{customDomainId}/status
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
List currently running instances of the application with their CPU and RAM metrics Responses 200 Know current resource consumption of the application for each running instance
401 Access token is missing or invalid
get /application/{applicationId}/instance
https://api.qovery.com /application/{applicationId}/instance
Response samples Content type application/json
Copy
Expand all Collapse all List current storage disk usage path Parameters applicationId required
get /application/{applicationId}/instance
https://api.qovery.com /application/{applicationId}/instance
Response samples Content type application/json
Copy
Expand all Collapse all List current storage disk usage Responses 200 Know current storage disk
401 Access token is missing or invalid
get /application/{applicationId}/currentStorage
https://api.qovery.com /application/{applicationId}/currentStorage
Response samples Content type application/json
Copy
Expand all Collapse all { "results" :
[ { "created_at" : "2019-08-24T14:15:22Z" ,
"storage_id" : "string" ,
"requested_in_gb" : 0 ,
"consumed_in_gb" : 0 ,
"consumed_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert"
} ] }
Get current scaling of the application Returns min, max, and running number of instances of the application
+
get /application/{applicationId}/currentStorage
https://api.qovery.com /application/{applicationId}/currentStorage
Response samples Content type application/json
Copy
Expand all Collapse all { "results" :
[ { "created_at" : "2019-08-24T14:15:22Z" ,
"storage_id" : "string" ,
"requested_in_gb" : 0 ,
"consumed_in_gb" : 0 ,
"consumed_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert"
} ] }
Get current scaling of the application Returns min, max, and running number of instances of the application
Responses 200 Get current scaling of the application
401 Access token is missing or invalid
get /application/{applicationId}/currentScale
https://api.qovery.com /application/{applicationId}/currentScale
Response samples Content type application/json
{ "min" : 0 ,
"max" : 0 ,
"running" : 0 ,
"running_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert" ,
"updated_at" : "2019-08-24T14:15:22Z"
}
Get CPU consumption metric over time for the application path Parameters applicationId required
get /application/{applicationId}/currentScale
https://api.qovery.com /application/{applicationId}/currentScale
Response samples Content type application/json
{ "min" : 0 ,
"max" : 0 ,
"running" : 0 ,
"running_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert" ,
"updated_at" : "2019-08-24T14:15:22Z"
}
Get CPU consumption metric over time for the application query Parameters lastSeconds required
number
Up to how many seconds in the past to ask analytics results
Responses 401 Access token is missing or invalid
get /application/{applicationId}/metric/cpu
https://api.qovery.com /application/{applicationId}/metric/cpu
Response samples Content type application/json
Copy
Expand all Collapse all Get Memory consumption metric over time for the application path Parameters applicationId required
get /application/{applicationId}/metric/cpu
https://api.qovery.com /application/{applicationId}/metric/cpu
Response samples Content type application/json
Copy
Expand all Collapse all Get Memory consumption metric over time for the application query Parameters lastSeconds required
number
Up to how many seconds in the past to ask analytics results
Responses 401 Access token is missing or invalid
get /application/{applicationId}/metric/memory
https://api.qovery.com /application/{applicationId}/metric/memory
Response samples Content type application/json
Copy
Expand all Collapse all Get Health Check latency metric over time for the application The value returned corresponds to the 95th centile
+
get /application/{applicationId}/metric/memory
https://api.qovery.com /application/{applicationId}/metric/memory
Response samples Content type application/json
Copy
Expand all Collapse all Get Health Check latency metric over time for the application The value returned corresponds to the 95th centile
query Parameters lastSeconds required
number
Up to how many seconds in the past to ask analytics results
Responses 401 Access token is missing or invalid
get /application/{applicationId}/metric/healthCheck
https://api.qovery.com /application/{applicationId}/metric/healthCheck
Response samples Content type application/json
Copy
Expand all Collapse all Get Storage consumption metric over time for the application path Parameters applicationId required
get /application/{applicationId}/metric/healthCheck
https://api.qovery.com /application/{applicationId}/metric/healthCheck
Response samples Content type application/json
Copy
Expand all Collapse all Get Storage consumption metric over time for the application query Parameters lastSeconds required
number
Up to how many seconds in the past to ask analytics results
Responses 401 Access token is missing or invalid
get /application/{applicationId}/metric/storage
https://api.qovery.com /application/{applicationId}/metric/storage
Response samples Content type application/json
Copy
Expand all Collapse all List logs This will list the last 1000 logs of the application
+
get /application/{applicationId}/metric/storage
https://api.qovery.com /application/{applicationId}/metric/storage
Response samples Content type application/json
Copy
Expand all Collapse all List logs This will list the last 1000 logs of the application
Responses 401 Access token is missing or invalid
get /application/{applicationId}/log
https://api.qovery.com /application/{applicationId}/log
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
Application Deployment Restriction Get application deployment restrictions Get application deployment restrictions
+
get /application/{applicationId}/log
https://api.qovery.com /application/{applicationId}/log
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
Application Deployment Restriction Get application deployment restrictions Get application deployment restrictions
Responses 200 Get application deployment restrictions
401 Access token is missing or invalid
get /application/{applicationId}/deploymentRestriction
https://api.qovery.com /application/{applicationId}/deploymentRestriction
Response samples Content type application/json
Copy
Expand all Collapse all { "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 Create an application deployment restriction
+
get /application/{applicationId}/deploymentRestriction
https://api.qovery.com /application/{applicationId}/deploymentRestriction
Response samples Content type application/json
Copy
Expand all Collapse all { "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 Create an application deployment restriction
Request Body schema: application/json
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 PATH
restrictions, the value must not start with /
@@ -4102,7 +4085,7 @@
401 Access token is missing or invalid
409 An application deployment restriction with same properties already exists for this application
-post /application/{applicationId}/deploymentRestriction
https://api.qovery.com /application/{applicationId}/deploymentRestriction
Request samples Content type application/json
Response samples Content type application/json
{ "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 Edit an application deployment restriction
+
post /application/{applicationId}/deploymentRestriction
https://api.qovery.com /application/{applicationId}/deploymentRestriction
Request samples Content type application/json
Response samples Content type application/json
{ "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 Edit an application deployment restriction
path Parameters applicationId required
deploymentRestrictionId required
string <uuid>
Deployment Restriction ID
Request Body schema: application/json
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.
@@ -4112,7 +4095,7 @@
401 Access token is missing or invalid
put /application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}
https://api.qovery.com /application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}
Request samples Content type application/json
Response samples Content type application/json
{ "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/"
}
Delete an application deployment restriction Delete an application deployment restriction
+
put /application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}
https://api.qovery.com /application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}
Request samples Content type application/json
Response samples Content type application/json
{ "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/"
}
Delete an application deployment restriction Delete an application deployment restriction
path Parameters applicationId required
deploymentRestrictionId required
string <uuid>
Deployment Restriction ID
Responses 204 The resource was deleted successfully
@@ -4126,12 +4109,12 @@
401 Access token is missing or invalid
get /application/{applicationId}/deploymentHistory
https://api.qovery.com /application/{applicationId}/deploymentHistory
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
Application Environment Variable List environment variables path Parameters applicationId required
get /application/{applicationId}/deploymentHistory
https://api.qovery.com /application/{applicationId}/deploymentHistory
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
Application Environment Variable List environment variables Responses 200 List environment variables
401 Access token is missing or invalid
get /application/{applicationId}/environmentVariable
https://api.qovery.com /application/{applicationId}/environmentVariable
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
} ] }
Add an environment variable to the application get /application/{applicationId}/environmentVariable
https://api.qovery.com /application/{applicationId}/environmentVariable
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
} ] }
Add an environment variable to the application
Add an environment variable to the application.
path Parameters applicationId required
string <uuid>
Application ID
@@ -4143,14 +4126,14 @@
401 Access token is missing or invalid
post /application/{applicationId}/environmentVariable
https://api.qovery.com /application/{applicationId}/environmentVariable
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string" ,
"mount_path" : null
}
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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 variables Import environment variables in a defined scope, with a defined visibility.
+
post /application/{applicationId}/environmentVariable
https://api.qovery.com /application/{applicationId}/environmentVariable
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string" ,
"mount_path" : null
}
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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 variables Import environment variables in a defined scope, with a defined visibility.
Request Body schema: application/json
overwrite required
vars required
Responses 201 Import environment variables
401 Access token is missing or invalid
post /application/{applicationId}/environmentVariable/import
https://api.qovery.com /application/{applicationId}/environmentVariable/import
Request samples Content type application/json
Copy
Expand all Collapse all { "overwrite" : false ,
"vars" :
[ { "name" : "string" ,
"value" : "string" ,
"scope" : "APPLICATION" ,
"is_secret" : true
} ] }
Response samples Content type application/json
Copy
Expand all Collapse all Delete an environment variable from an application post /application/{applicationId}/environmentVariable/import
https://api.qovery.com /application/{applicationId}/environmentVariable/import
Request samples Content type application/json
Copy
Expand all Collapse all { "overwrite" : false ,
"vars" :
[ { "name" : "string" ,
"value" : "string" ,
"scope" : "APPLICATION" ,
"is_secret" : true
} ] }
Response samples Content type application/json
Copy
Expand all Collapse all Delete an environment variable from an application
To delete an environment variable from an application you must have the project user permission
You can't delete a BUILT_IN variable
If you delete a variable having override or alias, the associated override/alias will be deleted as well
@@ -4176,7 +4159,7 @@
401 Access token is missing or invalid
put /application/{applicationId}/environmentVariable/{environmentVariableId}
https://api.qovery.com /application/{applicationId}/environmentVariable/{environmentVariableId}
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string"
}
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
}
Create an environment variable override at the application level put /application/{applicationId}/environmentVariable/{environmentVariableId}
https://api.qovery.com /application/{applicationId}/environmentVariable/{environmentVariableId}
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string"
}
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
}
Create an environment variable override at the application level
Allows you to override at application level an environment variable that has a higher scope.
You only have to specify a value in the request body
The system will create a new environment variable at application level with the same key as the one corresponding to the variable id in the path
@@ -4190,7 +4173,7 @@
401 Access token is missing or invalid
post /application/{applicationId}/environmentVariable/{environmentVariableId}/override
https://api.qovery.com /application/{applicationId}/environmentVariable/{environmentVariableId}/override
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
}
Create an environment variable alias at the application level post /application/{applicationId}/environmentVariable/{environmentVariableId}/override
https://api.qovery.com /application/{applicationId}/environmentVariable/{environmentVariableId}/override
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
}
Create an environment variable alias at the application level
Allows you to add an alias at application level on an existing environment variable having higher scope, in order to customize its key.
You only have to specify a key in the request body
The system will create a new environment variable at application level with the same value as the one corresponding to the variable id in the path
@@ -4205,13 +4188,13 @@
401 Access token is missing or invalid
post /application/{applicationId}/environmentVariable/{environmentVariableId}/alias
https://api.qovery.com /application/{applicationId}/environmentVariable/{environmentVariableId}/alias
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
}
List application secrets Secrets are like environment variables, but they are secured and can't be revealed.
+
post /application/{applicationId}/environmentVariable/{environmentVariableId}/alias
https://api.qovery.com /application/{applicationId}/environmentVariable/{environmentVariableId}/alias
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
}
List application secrets Secrets are like environment variables, but they are secured and can't be revealed.
Responses 401 Access token is missing or invalid
get /application/{applicationId}/secret
https://api.qovery.com /application/{applicationId}/secret
Response samples Content type application/json
Copy
Expand all Collapse all { "results" :
[ { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
} ] }
Add a secret to the application get /application/{applicationId}/secret
https://api.qovery.com /application/{applicationId}/secret
Response samples Content type application/json
Copy
Expand all Collapse all { "results" :
[ { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
} ] }
Add a secret to the application
Add a secret to the application.
path Parameters applicationId required
string <uuid>
Application ID
@@ -4223,7 +4206,7 @@
401 Access token is missing or invalid
post /application/{applicationId}/secret
https://api.qovery.com /application/{applicationId}/secret
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string" ,
"mount_path" : null
}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
Delete a secret from an application post /application/{applicationId}/secret
https://api.qovery.com /application/{applicationId}/secret
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string" ,
"mount_path" : null
}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
Delete a secret from an application
To delete a secret you must have the project user permission
You can't delete a BUILT_IN secret
If you delete a secret having override or alias, the associated override/alias will be deleted as well
@@ -4247,7 +4230,7 @@
401 Access token is missing or invalid
put /application/{applicationId}/secret/{secretId}
https://api.qovery.com /application/{applicationId}/secret/{secretId}
Request samples Content type application/json
{ "value" : "string" ,
"key" : "string"
}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
Create a secret override at the application level put /application/{applicationId}/secret/{secretId}
https://api.qovery.com /application/{applicationId}/secret/{secretId}
Request samples Content type application/json
{ "value" : "string" ,
"key" : "string"
}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
Create a secret override at the application level
Allows you to override at application level a secret that has a higher scope.
You only have to specify a value in the request body
The system will create a new secret at application level with the same key as the one corresponding to the secret id in the path
@@ -4261,7 +4244,7 @@
401 Access token is missing or invalid
post /application/{applicationId}/secret/{secretId}/override
https://api.qovery.com /application/{applicationId}/secret/{secretId}/override
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
Create a secret alias at the application level post /application/{applicationId}/secret/{secretId}/override
https://api.qovery.com /application/{applicationId}/secret/{secretId}/override
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
Create a secret alias at the application level
Allows you to add an alias at application level on an existing secret having higher scope, in order to customize its key.
You only have to specify a key in the request body
The system will create a new secret at application level with the same value as the one corresponding to the secret id in the path
@@ -4276,19 +4259,19 @@
401 Access token is missing or invalid
post /application/{applicationId}/secret/{secretId}/alias
https://api.qovery.com /application/{applicationId}/secret/{secretId}/alias
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
List application events 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
+
post /application/{applicationId}/secret/{secretId}/alias
https://api.qovery.com /application/{applicationId}/secret/{secretId}/alias
Request samples Content type application/json
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"key" : "string" ,
"aliased_secret" :
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"key" : "QOVERY_DATABASE_PSQL_NAME" ,
"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"
}
List application events 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
query Parameters startId string <uuid>
Starting point after which to return results
Responses 401 Access token is missing or invalid
get /application/{applicationId}/event
https://api.qovery.com /application/{applicationId}/event
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"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" ,
"email" : "user@example.com" ,
} , "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" :
{ "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
} , "type" : "string" ,
} ] }
Get container by ID path Parameters containerId required
get /application/{applicationId}/event
https://api.qovery.com /application/{applicationId}/event
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"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" ,
"email" : "user@example.com" ,
} , "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" :
{ "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
} , "type" : "string" ,
} ] }
Get container by ID Responses 401 Access token is missing or invalid
get /container/{containerId}
https://api.qovery.com /container/{containerId}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"maximum_cpu" : 16000 ,
"maximum_memory" : 16384 ,
"name" : "string" ,
"description" : "string" ,
"image_name" : "string" ,
"tag" : "string" ,
"entrypoint" : "string" ,
"cpu" : 1250 ,
"memory" : 1024 ,
"min_running_instances" : 1 ,
"max_running_instances" : 1 ,
"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"
} ] }
get /container/{containerId}
https://api.qovery.com /container/{containerId}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"maximum_cpu" : 16000 ,
"maximum_memory" : 16384 ,
"name" : "string" ,
"description" : "string" ,
"image_name" : "string" ,
"tag" : "string" ,
"entrypoint" : "string" ,
"cpu" : 1250 ,
"memory" : 1024 ,
"min_running_instances" : 1 ,
"max_running_instances" : 1 ,
"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"
} ] }
Edit container
To edit the container you must have the admin permission.
For port edition, if you provide a port id, we will update the corresponding port. If you don't we will create a new one. If you remove a port from the payload, we will delete it.
For storage edition, if you provide a storage id, we will update the corresponding storage. If you don't we will create a new one. If you remove a storage from the payload, we will delete it.
@@ -4319,7 +4302,7 @@
409 Container name within the environment is already taken
-put /container/{containerId}
https://api.qovery.com /container/{containerId}
Request samples Content type application/json
Copy
Expand all Collapse all { "name" : "string" ,
"description" : "string" ,
"registry_id" : "string" ,
"image_name" : "string" ,
"tag" : "string" ,
"entrypoint" : "string" ,
"cpu" : 1250 ,
"memory" : 1024 ,
"min_running_instances" : 1 ,
"max_running_instances" : 1 ,
"auto_preview" : true
}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"maximum_cpu" : 16000 ,
"maximum_memory" : 16384 ,
"name" : "string" ,
"description" : "string" ,
"image_name" : "string" ,
"tag" : "string" ,
"entrypoint" : "string" ,
"cpu" : 1250 ,
"memory" : 1024 ,
"min_running_instances" : 1 ,
"max_running_instances" : 1 ,
"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"
} ] }
Delete container To delete the container you must have the admin permission
+
put /container/{containerId}
https://api.qovery.com /container/{containerId}
Request samples Content type application/json
Copy
Expand all Collapse all { "name" : "string" ,
"description" : "string" ,
"registry_id" : "string" ,
"image_name" : "string" ,
"tag" : "string" ,
"entrypoint" : "string" ,
"cpu" : 1250 ,
"memory" : 1024 ,
"min_running_instances" : 1 ,
"max_running_instances" : 1 ,
"auto_preview" : true
}
Response samples Content type application/json
Copy
Expand all Collapse all { "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"maximum_cpu" : 16000 ,
"maximum_memory" : 16384 ,
"name" : "string" ,
"description" : "string" ,
"image_name" : "string" ,
"tag" : "string" ,
"entrypoint" : "string" ,
"cpu" : 1250 ,
"memory" : 1024 ,
"min_running_instances" : 1 ,
"max_running_instances" : 1 ,
"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"
} ] }
Delete container To delete the container you must have the admin permission
Responses 204 The resource was deleted successfully
401 Access token is missing or invalid
@@ -4330,13 +4313,13 @@
401 Access token is missing or invalid
get /container/{containerId}/status
https://api.qovery.com /container/{containerId}/status
Response samples Content type application/json
{ "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
}
List all URLs of the container This will return all the custom domains and Qovery autogenerated domain for the given container
+
get /container/{containerId}/status
https://api.qovery.com /container/{containerId}/status
Response samples Content type application/json
{ "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
}
List all URLs of the container This will return all the custom domains and Qovery autogenerated domain for the given container
Responses 401 Access token is missing or invalid
get /container/{containerId}/link
https://api.qovery.com /container/{containerId}/link
Response samples Content type application/json
Copy
Expand all Collapse all Deploy container You must provide a git commit id
+
get /container/{containerId}/link
https://api.qovery.com /container/{containerId}/link
Response samples Content type application/json
Copy
Expand all Collapse all Deploy container You must provide a git commit id
Request Body schema: application/json
Responses 202 Deploy container
@@ -4345,38 +4328,38 @@
409 Operation is in progress
-post /container/{containerId}/deploy
https://api.qovery.com /container/{containerId}/deploy
Request samples Content type application/json
Response samples Content type application/json
{ "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
}
Stop container path Parameters containerId required
post /container/{containerId}/deploy
https://api.qovery.com /container/{containerId}/deploy
Request samples Content type application/json
Response samples Content type application/json
{ "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
}
Stop container Responses 202 Container stop has been requested
401 Access token is missing or invalid
409 Container is already stopped or an operation is in progress
-post /container/{containerId}/stop
https://api.qovery.com /container/{containerId}/stop
Response samples Content type application/json
{ "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
}
Deprecated - Restart container Deprecated - Please use the "Redeploy container" endpoint now
+
post /container/{containerId}/stop
https://api.qovery.com /container/{containerId}/stop
Response samples Content type application/json
{ "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
}
Deprecated - Restart container Deprecated - Please use the "Redeploy container" endpoint now
Responses 202 Container restart has been requested
401 Access token is missing or invalid
409 Operation is in progress
-post /container/{containerId}/restart
https://api.qovery.com /container/{containerId}/restart
Response samples Content type application/json
{ "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
}
Redeploy container path Parameters containerId required
post /container/{containerId}/restart
https://api.qovery.com /container/{containerId}/restart
Response samples Content type application/json
{ "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
}
Redeploy container Responses 202 Container redeploy has been requested
401 Access token is missing or invalid
409 Operation is in progress
-post /container/{containerId}/redeploy
https://api.qovery.com /container/{containerId}/redeploy
Response samples Content type application/json
{ "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
}
Reboot container path Parameters containerId required
post /container/{containerId}/redeploy
https://api.qovery.com /container/{containerId}/redeploy
Response samples Content type application/json
{ "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
}
Reboot container Responses 202 Container reboot has been requested
401 Access token is missing or invalid
409 Operation is in progress
-post /container/{containerId}/restart-service
https://api.qovery.com /container/{containerId}/restart-service
Response samples Content type application/json
{ "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
}
Get advanced settings Get list and values of the advanced settings of the container.
+
post /container/{containerId}/restart-service
https://api.qovery.com /container/{containerId}/restart-service
Response samples Content type application/json
{ "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
}
Get advanced settings Get list and values of the advanced settings of the container.
Responses 200 Advanced settings list
401 Access token is missing or invalid
get /container/{containerId}/advancedSettings
https://api.qovery.com /container/{containerId}/advancedSettings
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"security.service_account_name" : "" ,
"hpa.cpu.average_utilization_percent" : 60
}
Edit advanced settings Edit advanced settings by returning table of advanced settings.
+
get /container/{containerId}/advancedSettings
https://api.qovery.com /container/{containerId}/advancedSettings
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"security.service_account_name" : "" ,
"hpa.cpu.average_utilization_percent" : 60
}
Edit advanced settings Edit advanced settings by returning table of advanced settings.
Request Body schema: application/json
deployment.custom_domain_check_enabled boolean
Default: true
disable custom domain check when deploying an application
deployment.termination_grace_period_seconds integer
Default: 60
define how long in seconds an application is supposed to be stopped gracefully
@@ -4418,13 +4401,13 @@
401 Access token is missing or invalid
put /container/{containerId}/advancedSettings
https://api.qovery.com /container/{containerId}/advancedSettings
Request samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"security.service_account_name" : "" ,
"hpa.cpu.average_utilization_percent" : 60
}
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"security.service_account_name" : "" ,
"hpa.cpu.average_utilization_percent" : 60
}
Get Container Network information Get status of the container network settings.
+
put /container/{containerId}/advancedSettings
https://api.qovery.com /container/{containerId}/advancedSettings
Request samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"security.service_account_name" : "" ,
"hpa.cpu.average_utilization_percent" : 60
}
Response samples Content type application/json
Copy
Expand all Collapse all { "deployment.custom_domain_check_enabled" : true ,
"deployment.termination_grace_period_seconds" : 60 ,
"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" : 25 ,
"deployment.update_strategy.rolling_update.max_surge_percent" : 25 ,
"network.ingress.proxy_body_size_mb" : 100 ,
"network.ingress.enable_cors" : false ,
"network.ingress.cors_allow_origin" : "*" ,
"network.ingress.cors_allow_methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS" ,
"network.ingress.cors_allow_headers" : "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" ,
"network.ingress.proxy_buffer_size_kb" : 4 ,
"network.ingress.keepalive_time_seconds" : 3600 ,
"network.ingress.keepalive_timeout_seconds" : 60 ,
"network.ingress.send_timeout_seconds" : 60 ,
"network.ingress.proxy_connect_timeout_seconds" : 60 ,
"network.ingress.proxy_send_timeout_seconds" : 60 ,
"network.ingress.proxy_read_timeout_seconds" : 60 ,
"network.ingress.grpc_send_timeout_seconds" : 60 ,
"network.ingress.grpc_read_timeout_seconds" : 60 ,
"network.ingress.whitelist_source_range" : "0.0.0.0/0" ,
"network.ingress.denylist_source_range" : "" ,
"network.ingress.basic_auth_env_var" : "" ,
"network.ingress.enable_sticky_session" : false ,
"security.service_account_name" : "" ,
"hpa.cpu.average_utilization_percent" : 60
}
Get Container Network information Get status of the container network settings.
Responses 401 Access token is missing or invalid
get /container/{containerId}/network
https://api.qovery.com /container/{containerId}/network
Response samples Content type application/json
Edit Container Network Edit the Network settings of the container.
+
get /container/{containerId}/network
https://api.qovery.com /container/{containerId}/network
Response samples Content type application/json
Edit Container Network Edit the Network settings of the container.
Request Body schema: application/json
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.
@@ -4433,12 +4416,12 @@
401 Access token is missing or invalid
put /container/{containerId}/network
https://api.qovery.com /container/{containerId}/network
Request samples Content type application/json
Response samples Content type application/json
List container custom domains path Parameters containerId required
put /container/{containerId}/network
https://api.qovery.com /container/{containerId}/network
Request samples Content type application/json
Response samples Content type application/json
List container custom domains Responses 401 Access token is missing or invalid
get /container/{containerId}/customDomain
https://api.qovery.com /container/{containerId}/customDomain
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
} ] }
Add custom domain to the container. Add a custom domain to this container in order not to use qovery autogenerated domain
+
get /container/{containerId}/customDomain
https://api.qovery.com /container/{containerId}/customDomain
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
} ] }
Add custom domain to the container. Add a custom domain to this container in order not to use qovery autogenerated domain
Request Body schema: application/json
Responses 201 Added container custom domain
@@ -4446,7 +4429,7 @@
401 Access token is missing or invalid
post /container/{containerId}/customDomain
https://api.qovery.com /container/{containerId}/customDomain
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Edit a Custom Domain To edit a Custom Domain you must have the project user permission
+
post /container/{containerId}/customDomain
https://api.qovery.com /container/{containerId}/customDomain
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Edit a Custom Domain To edit a Custom Domain you must have the project user permission
path Parameters containerId required
customDomainId required
Request Body schema: application/json
domain required
string
your custom domain
@@ -4455,7 +4438,7 @@
401 Access token is missing or invalid
put /container/{containerId}/customDomain/{customDomainId}
https://api.qovery.com /container/{containerId}/customDomain/{customDomainId}
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Delete a Custom Domain To delete an CustomDomain you must have the project user permission
+
put /container/{containerId}/customDomain/{customDomainId}
https://api.qovery.com /container/{containerId}/customDomain/{customDomainId}
Request samples Content type application/json
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
Delete a Custom Domain To delete an CustomDomain you must have the project user permission
path Parameters containerId required
customDomainId required
Responses 204 The resource was deleted successfully
@@ -4468,40 +4451,40 @@
401 Access token is missing or invalid
get /container/{containerId}/customDomain/{customDomainId}/status
https://api.qovery.com /container/{containerId}/customDomain/{customDomainId}/status
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
List currently running instances of the container with their CPU and RAM metrics path Parameters containerId required
get /container/{containerId}/customDomain/{customDomainId}/status
https://api.qovery.com /container/{containerId}/customDomain/{customDomainId}/status
Response samples Content type application/json
{ "id" : "497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"created_at" : "2019-08-24T14:15:22Z" ,
"updated_at" : "2019-08-24T14:15:22Z" ,
"domain" : "my.domain.tld" ,
"validation_domain" : "string" ,
"status" : "VALIDATION_PENDING"
}
List currently running instances of the container with their CPU and RAM metrics Responses 200 Know current resource consumption of the container for each running instance
401 Access token is missing or invalid
get /container/{containerId}/instance
https://api.qovery.com /container/{containerId}/instance
Response samples Content type application/json
Copy
Expand all Collapse all List current storage disk usage path Parameters containerId required
get /container/{containerId}/instance
https://api.qovery.com /container/{containerId}/instance
Response samples Content type application/json
Copy
Expand all Collapse all List current storage disk usage Responses 200 Know current storage disk
401 Access token is missing or invalid
get /container/{containerId}/currentStorage
https://api.qovery.com /container/{containerId}/currentStorage
Response samples Content type application/json
Copy
Expand all Collapse all { "results" :
[ { "created_at" : "2019-08-24T14:15:22Z" ,
"storage_id" : "string" ,
"requested_in_gb" : 0 ,
"consumed_in_gb" : 0 ,
"consumed_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert"
} ] }
Get current scaling of the container Returns min, max, and running number of instances of the application
+
get /container/{containerId}/currentStorage
https://api.qovery.com /container/{containerId}/currentStorage
Response samples Content type application/json
Copy
Expand all Collapse all { "results" :
[ { "created_at" : "2019-08-24T14:15:22Z" ,
"storage_id" : "string" ,
"requested_in_gb" : 0 ,
"consumed_in_gb" : 0 ,
"consumed_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert"
} ] }
Get current scaling of the container Returns min, max, and running number of instances of the application
Responses 200 Get current scaling of the container
401 Access token is missing or invalid
get /container/{containerId}/currentScale
https://api.qovery.com /container/{containerId}/currentScale
Response samples Content type application/json
{ "min" : 0 ,
"max" : 0 ,
"running" : 0 ,
"running_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert" ,
"updated_at" : "2019-08-24T14:15:22Z"
}
List logs This will list the last 1000 logs of the container
+
get /container/{containerId}/currentScale
https://api.qovery.com /container/{containerId}/currentScale
Response samples Content type application/json
{ "min" : 0 ,
"max" : 0 ,
"running" : 0 ,
"running_in_percent" : 0 ,
"warning_threshold_in_percent" : 0 ,
"alert_threshold_in_percent" : 0 ,
"status" : "Alert" ,
"updated_at" : "2019-08-24T14:15:22Z"
}
List logs This will list the last 1000 logs of the container
Responses 401 Access token is missing or invalid
get /container/{containerId}/log
https://api.qovery.com /container/{containerId}/log
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
Container Deployment History List container deployments Returns the 20 last container deployments
+
get /container/{containerId}/log
https://api.qovery.com /container/{containerId}/log
Response samples Content type application/json
Copy
Expand all Collapse all { "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"
} ] }
Container Deployment History List container deployments Returns the 20 last container deployments
Responses 200 List deployment history
401 Access token is missing or invalid
get /container/{containerId}/deploymentHistory
https://api.qovery.com /container/{containerId}/deploymentHistory
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"entrypoint" : "string"
} ] }
Container Environment Variable List environment variables path Parameters containerId required
get /container/{containerId}/deploymentHistory
https://api.qovery.com /container/{containerId}/deploymentHistory
Response samples Content type application/json
Copy
Expand all Collapse all { "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" ,
"entrypoint" : "string"
} ] }
Container Environment Variable List environment variables Responses 200 List environment variables
401 Access token is missing or invalid
get /container/{containerId}/environmentVariable
https://api.qovery.com /container/{containerId}/environmentVariable
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
} ] }
Add an environment variable to the container get /container/{containerId}/environmentVariable
https://api.qovery.com /container/{containerId}/environmentVariable
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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"
} ] }
Add an environment variable to the container
Add an environment variable to the container.
path Parameters containerId required
string <uuid>
Container ID
@@ -4513,14 +4496,14 @@
401 Access token is missing or invalid
post /container/{containerId}/environmentVariable
https://api.qovery.com /container/{containerId}/environmentVariable
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string" ,
"mount_path" : null
}
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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 variables Import environment variables in a defined scope, with a defined visibility.
+
post /container/{containerId}/environmentVariable
https://api.qovery.com /container/{containerId}/environmentVariable
Request samples Content type application/json
{ "key" : "string" ,
"value" : "string" ,
"mount_path" : null
}
Response samples Content type application/json
Copy
Expand all Collapse all { "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 ,
"overridden_variable" :
{ } , "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 variables Import environment variables in a defined scope, with a defined visibility.
Request Body schema: application/json
overwrite required
vars required
Responses 201 Import environment variables
401 Access token is missing or invalid
post /container/{containerId}/environmentVariable/import
https://api.qovery.com /container/{containerId}/environmentVariable/import
Request samples Content type application/json
Copy
Expand all Collapse all