{ "opencollection": "1.0.0", "info": { "name": "Optimizely Campaign REST Assets Environments API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Environments", "type": "folder" }, "items": [ { "info": { "name": "List environments", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/environments", "params": [ { "name": "project_id", "value": "", "type": "query", "description": "The unique identifier for the project to filter by" } ] }, "docs": "Returns a list of environments for the specified project. Environments allow developing, staging, and deploying experiment configurations independently." }, { "info": { "name": "Create an environment", "type": "http" }, "http": { "method": "POST", "url": "https://api.campaign.episerver.net/rest/environments", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new environment within the specified project." }, { "info": { "name": "Get an environment", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/environments/:environment_id", "params": [ { "name": "environment_id", "value": "", "type": "path", "description": "The unique identifier for the environment" } ] }, "docs": "Retrieves the details of a specific environment." }, { "info": { "name": "Update an environment", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.campaign.episerver.net/rest/environments/:environment_id", "params": [ { "name": "environment_id", "value": "", "type": "path", "description": "The unique identifier for the environment" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified environment with the provided fields." } ] } ], "bundled": true }