{ "opencollection": "1.0.0", "info": { "name": "Managed Database for PostgreSQL and MySQL Access Control List Crons API", "version": "v1" }, "items": [ { "info": { "name": "Crons", "type": "folder" }, "items": [ { "info": { "name": "List all crons", "type": "http" }, "http": { "method": "GET", "url": "https://api.scaleway.com/functions/v1beta1/regions/:region/crons", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "page", "value": "", "type": "query", "description": "Page number." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of crons per page." }, { "name": "order_by", "value": "", "type": "query", "description": "Order of the crons." }, { "name": "function_id", "value": "", "type": "query", "description": "UUID of the function." } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "List all the cronjobs in a specified region." }, { "info": { "name": "Create a new cron", "type": "http" }, "http": { "method": "POST", "url": "https://api.scaleway.com/functions/v1beta1/regions/:region/crons", "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": "Create a new cronjob for a function with the specified ID." }, { "info": { "name": "Get a cron", "type": "http" }, "http": { "method": "GET", "url": "https://api.scaleway.com/functions/v1beta1/regions/:region/crons/:cron_id", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "cron_id", "value": "", "type": "path", "description": "UUID of the cron to get." } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Get the cron associated with the specified ID." }, { "info": { "name": "Update an existing cron", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.scaleway.com/functions/v1beta1/regions/:region/crons/:cron_id", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "cron_id", "value": "", "type": "path", "description": "UUID of the cron to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Update the cron associated with the specified ID." }, { "info": { "name": "Delete an existing cron", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.scaleway.com/functions/v1beta1/regions/:region/crons/:cron_id", "params": [ { "name": "region", "value": "", "type": "path", "description": "The region you want to target" }, { "name": "cron_id", "value": "", "type": "path", "description": "UUID of the cron to delete." } ], "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "docs": "Delete the cron associated with the specified ID." } ] } ], "bundled": true }