{ "opencollection": "1.0.0", "info": { "name": "Fastly Account ACL Service Version API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Fastly-Key", "value": "{{Fastly-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Service Version", "type": "folder" }, "items": [ { "info": { "name": "List versions of a service", "type": "http" }, "http": { "method": "GET", "url": "https://api.fastly.com/service/:service_id/version", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the Fastly service." } ] }, "docs": "Retrieves a list of all versions associated with a specific Fastly service." }, { "info": { "name": "Create a service version", "type": "http" }, "http": { "method": "POST", "url": "https://api.fastly.com/service/:service_id/version", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the Fastly service." } ] }, "docs": "Creates a new version of a specific Fastly service. New versions are created as drafts that can be configured and then activated." }, { "info": { "name": "Get a service version", "type": "http" }, "http": { "method": "GET", "url": "https://api.fastly.com/service/:service_id/version/:version_id", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the Fastly service." }, { "name": "version_id", "value": "", "type": "path", "description": "The integer identifying the service version." } ] }, "docs": "Retrieves the details of a specific version of a Fastly service." }, { "info": { "name": "Update a service version", "type": "http" }, "http": { "method": "PUT", "url": "https://api.fastly.com/service/:service_id/version/:version_id", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the Fastly service." }, { "name": "version_id", "value": "", "type": "path", "description": "The integer identifying the service version." } ], "body": { "type": "form-urlencoded", "data": [ { "name": "comment", "value": "" } ] } }, "docs": "Updates a specific version of a Fastly service, such as changing its comment or locking status." }, { "info": { "name": "Activate a service version", "type": "http" }, "http": { "method": "PUT", "url": "https://api.fastly.com/service/:service_id/version/:version_id/activate", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the Fastly service." }, { "name": "version_id", "value": "", "type": "path", "description": "The integer identifying the service version." } ] }, "docs": "Activates a specific version of a Fastly service, making it the live configuration that handles traffic for the service." }, { "info": { "name": "Deactivate a service version", "type": "http" }, "http": { "method": "PUT", "url": "https://api.fastly.com/service/:service_id/version/:version_id/deactivate", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the Fastly service." }, { "name": "version_id", "value": "", "type": "path", "description": "The integer identifying the service version." } ] }, "docs": "Deactivates a specific version of a Fastly service, removing it from active traffic handling." }, { "info": { "name": "Clone a service version", "type": "http" }, "http": { "method": "PUT", "url": "https://api.fastly.com/service/:service_id/version/:version_id/clone", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the Fastly service." }, { "name": "version_id", "value": "", "type": "path", "description": "The integer identifying the service version." } ] }, "docs": "Creates a new version of a Fastly service by cloning an existing version, including all of its configuration settings." } ] } ], "bundled": true }