openapi: 3.0.0 info: version: 1.0.4 title: Qovery Account Info Job Configuration API description: '- Qovery is the fastest way to deploy your full-stack apps on any Cloud provider. - ℹ️ The API is stable and still in development. ' contact: name: Qovery Product Team url: https://www.qovery.com email: support+api+documentation@qovery.com x-logo: url: https://console.qovery.com/assets/logos/logo-white.svg altText: Qovery servers: - url: https://api.qovery.com security: - bearerAuth: [] - ApiKeyAuth: [] tags: - name: Job Configuration paths: /job/{jobId}/advancedSettings: get: summary: Get advanced settings description: 'Get list and values of the advanced settings of the job. Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/) ' operationId: getJobAdvancedSettings parameters: - $ref: '#/components/parameters/jobId' tags: - Job Configuration responses: '200': description: Advanced settings list content: application/json: schema: $ref: '#/components/schemas/JobAdvancedSettings' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' put: summary: Edit advanced settings description: Edit advanced settings by returning table of advanced settings. operationId: editJobAdvancedSettings parameters: - $ref: '#/components/parameters/jobId' tags: - Job Configuration requestBody: content: application/json: schema: $ref: '#/components/schemas/JobAdvancedSettings' responses: '201': description: Updated advanced settings content: application/json: schema: $ref: '#/components/schemas/JobAdvancedSettings' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' components: schemas: JobAdvancedSettings: type: object properties: build.timeout_max_sec: type: integer description: define the max timeout for the build build.cpu_max_in_milli: type: integer description: define the max cpu resources (in milli) build.ram_max_in_gib: type: integer description: define the max ram resources (in gib) build.disable_buildkit_cache: type: boolean description: disable buildkit registry cache during build deployment.termination_grace_period_seconds: type: integer description: define how long in seconds an application is supposed to be stopped gracefully deployment.affinity.node.required: type: object additionalProperties: type: string description: Set pod placement on specific Kubernetes nodes labels job.delete_ttl_seconds_after_finished: type: integer nullable: true cronjob.concurrency_policy: type: string cronjob.failed_jobs_history_limit: type: integer cronjob.success_jobs_history_limit: type: integer security.service_account_name: type: string description: 'Allows you to set an existing Kubernetes service account name ' security.automount_service_account_token: type: boolean description: 'Automount Kubernetes service account token to have access to Kubernetes API from pods ' security.read_only_root_filesystem: type: boolean description: 'Mounts the container''s root filesystem as read-only ' parameters: jobId: name: jobId in: path description: Job ID required: true schema: type: string format: uuid responses: '403': description: Access forbidden '404': description: Resource not found '400': description: Bad request '401': description: Access token is missing or invalid securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT description: 'JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example '' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" ''' ApiKeyAuth: type: apiKey in: header name: Authorization description: 'Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Curl Example '' curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token" ''' x-tagGroups: - name: Organization tags: - Organization Main Calls - Organization Api Token - Organization Account Git Repositories - Organization Cluster Lock - Organization Webhook - Organization Custom Role - Organization Event - Organization Annotations Group - Organization Labels Group - Organization Enterprise Connection - Projects - Members - Billing - Clusters - Cloud Provider - Cloud Provider Credentials - Github App - Container Registries - Helm Repositories - name: Project tags: - Project Main Calls - Environments - Project Deployment Rule - Project Environment Variable - Project Secret - name: Environment tags: - Environment Main Calls - Applications - Containers - Databases - Jobs - Helms - Terraforms - Environment Actions - Environment Logs - Environment Deployment History - Environment Deployment Rule - Environment Variable - Environment Secret - Environment Export - name: Deployment Stage tags: - Deployment Stage Main Calls - name: Application tags: - Application Main Calls - Application Actions - Application Configuration - Application Custom Domain - Application Database - Application Logs - Application Deployment Restriction - Application Deployment History - Application Environment Variable - Application Secret - Application Annotations Group - name: Container tags: - Container Main Calls - Container Actions - Container Configuration - Container Custom Domain - Container Database - Container Logs - Container Deployment History - Container Environment Variable - Container Secret - Container Annotations Group - name: Database tags: - Database Main Calls - Database Actions - Database Applications - Database Deployment History - Database Containers - Database Application - Database Container - Backups - Database Annotations Group - name: Job tags: - Job Main Calls - Job Actions - Job Configuration - Job Custom Domain - Job Deployment Restriction - Job Deployment History - Job Environment Variable - Job Secret - Job Annotations Group - name: Helm tags: - Helm Main Calls - Helm Actions - Helm Configuration - Helm Custom Domain - Helm Deployment Restriction - Helm Deployment History - name: Terraform tags: - Terraform Main Calls - Terraform Actions - Terraform Configuration - Terraform Deployment Restriction - Terraform Deployment History - name: Account tags: - Account Info - Git repositories - Referral & Rewards - name: Git tags: - Git repositories - name: Variable tags: - Variable Main Calls - name: Lifecycle Template tags: - Lifecycle Template Main Calls - name: Admin tags: - User Sign Up - name: Alerting tags: - Alert Receivers - Alert Rules