{ "opencollection": "1.0.0", "info": { "name": "Optimizely Campaign REST Assets Events API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Events", "type": "folder" }, "items": [ { "info": { "name": "List events", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/events", "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 custom events for the specified project. Events are used as goals and metrics in experiments." }, { "info": { "name": "Send events", "type": "http" }, "http": { "method": "POST", "url": "https://api.campaign.episerver.net/rest/events", "body": { "type": "json", "data": "{}" } }, "docs": "Sends one or more events to ODP for processing. Events represent customer actions such as purchases, page views, email opens, and custom interactions. Each event includes a type, action, and associated identifiers and fields." }, { "info": { "name": "Get an event", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/events/:event_id", "params": [ { "name": "event_id", "value": "", "type": "path", "description": "The unique identifier for the event" } ] }, "docs": "Retrieves the full details of a specific event by its identifier." }, { "info": { "name": "Update an event", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.campaign.episerver.net/rest/events/:event_id", "params": [ { "name": "event_id", "value": "", "type": "path", "description": "The unique identifier for the event" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified event with the provided fields." }, { "info": { "name": "Delete an event", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.campaign.episerver.net/rest/events/:event_id", "params": [ { "name": "event_id", "value": "", "type": "path", "description": "The unique identifier for the event" } ] }, "docs": "Permanently deletes the specified event." } ] } ], "bundled": true }