{ "opencollection": "1.0.0", "info": { "name": "Optimizely Campaign REST Assets Flags API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Flags", "type": "folder" }, "items": [ { "info": { "name": "List flags", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/projects/:project_id/flags", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The unique identifier for the project" } ] }, "docs": "Returns a list of feature flags for the specified project." }, { "info": { "name": "Create a flag", "type": "http" }, "http": { "method": "POST", "url": "https://api.campaign.episerver.net/rest/projects/:project_id/flags", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The unique identifier for the project" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new feature flag within the specified project with the given key, variables, and variations." }, { "info": { "name": "Get a flag", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/projects/:project_id/flags/:flag_key", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The unique identifier for the project" }, { "name": "flag_key", "value": "", "type": "path", "description": "The unique key for the feature flag" } ] }, "docs": "Retrieves the details of a specific feature flag by its key." }, { "info": { "name": "Update a flag", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.campaign.episerver.net/rest/projects/:project_id/flags/:flag_key", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The unique identifier for the project" }, { "name": "flag_key", "value": "", "type": "path", "description": "The unique key for the feature flag" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified feature flag with the provided fields." }, { "info": { "name": "Delete a flag", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.campaign.episerver.net/rest/projects/:project_id/flags/:flag_key", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The unique identifier for the project" }, { "name": "flag_key", "value": "", "type": "path", "description": "The unique key for the feature flag" } ] }, "docs": "Permanently deletes the specified feature flag." } ] } ], "bundled": true }