{ "opencollection": "1.0.0", "info": { "name": "Managed Database for PostgreSQL and MySQL Access Control List Containers API", "version": "v1" }, "items": [ { "info": { "name": "Containers", "type": "folder" }, "items": [ { "info": { "name": "GetServiceInfo", "type": "http" }, "http": { "method": "GET", "url": "https://api.scaleway.com/containers/v1/regions/:region", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } } }, { "info": { "name": "List all containers the caller can access (read permission).", "type": "http" }, "http": { "method": "GET", "url": "https://api.scaleway.com/containers/v1/regions/:region/containers", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "page", "value": "", "type": "query" }, { "name": "page_size", "value": "", "type": "query" }, { "name": "order_by", "value": "", "type": "query" }, { "name": "organization_id", "value": "", "type": "query" }, { "name": "project_id", "value": "", "type": "query" }, { "name": "namespace_id", "value": "", "type": "query" }, { "name": "name", "value": "", "type": "query" } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "By default, the containers listed are ordered by creation date in ascending order. This can be modified via the `order_by` field.\n\nAdditional parameters can be set in the query to filter, such as `organization_id`, `project_id`, and `name`." }, { "info": { "name": "Create a new container in a namespace.", "type": "http" }, "http": { "method": "POST", "url": "https://api.scaleway.com/containers/v1/regions/:region/containers", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Name must be unique inside the given namespace." }, { "info": { "name": "Get the container associated with the specified ID.", "type": "http" }, "http": { "method": "GET", "url": "https://api.scaleway.com/containers/v1/regions/:region/containers/:container_id", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "container_id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Get the container associated with the specified ID." }, { "info": { "name": "Update the container associated with the specified ID.", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.scaleway.com/containers/v1/regions/:region/containers/:container_id", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "container_id", "value": "", "type": "path", "description": "UUID of the container to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Only fields present in the request are updated; others are left untouched." }, { "info": { "name": "Delete the container associated with the specified ID.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.scaleway.com/containers/v1/regions/:region/containers/:container_id", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "container_id", "value": "", "type": "path", "description": "UUID of the container to delete." } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "It also deletes in cascade any resource linked to the container (crons, tokens, etc.).\n\nThis action **cannot** be undone." }, { "info": { "name": "Redeploy a container", "type": "http" }, "http": { "method": "POST", "url": "https://api.scaleway.com/containers/v1/regions/:region/containers/:container_id/redeploy", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "container_id", "value": "", "type": "path", "description": "ID of the container to redeploy." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Performs a rollout of the container by creating new instances with the latest image version and terminating the old instances.\nWhen using mutable registry image references (e.g. `my-registry-namespace/image:tag`), this endpoint can be used to force the container to use\nthe most recent image version available in the registry." } ] } ], "bundled": true }