{ "opencollection": "1.0.0", "info": { "name": "Optimizely Campaign REST Assets Audiences API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Audiences", "type": "folder" }, "items": [ { "info": { "name": "List audiences", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/audiences", "params": [ { "name": "project_id", "value": "", "type": "query", "description": "The unique identifier for the project to filter by" }, { "name": "per_page", "value": "", "type": "query", "description": "Number of results per page" }, { "name": "page", "value": "", "type": "query", "description": "Page number for pagination" } ] }, "docs": "Returns a list of audiences for the specified project." }, { "info": { "name": "Create an audience", "type": "http" }, "http": { "method": "POST", "url": "https://api.campaign.episerver.net/rest/audiences", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new audience within the specified project." }, { "info": { "name": "Get an audience", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/audiences/:audience_id", "params": [ { "name": "audience_id", "value": "", "type": "path", "description": "The unique identifier for the audience" } ] }, "docs": "Retrieves the full details of a specific audience." }, { "info": { "name": "Update an audience", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.campaign.episerver.net/rest/audiences/:audience_id", "params": [ { "name": "audience_id", "value": "", "type": "path", "description": "The unique identifier for the audience" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified audience with the provided fields." } ] } ], "bundled": true }