{ "opencollection": "1.0.0", "info": { "name": "Segment Config Alias Destinations API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Destinations", "type": "folder" }, "items": [ { "info": { "name": "List destinations", "type": "http" }, "http": { "method": "GET", "url": "https://platform.segmentapis.com/v1beta/workspaces/:workspaceName/sources/:sourceName/destinations", "params": [ { "name": "workspaceName", "value": "", "type": "path", "description": "The name of the workspace." }, { "name": "sourceName", "value": "", "type": "path", "description": "The name of the source." } ] }, "docs": "Returns a list of all destinations for a specific source in the workspace." }, { "info": { "name": "Create destination", "type": "http" }, "http": { "method": "POST", "url": "https://platform.segmentapis.com/v1beta/workspaces/:workspaceName/sources/:sourceName/destinations", "params": [ { "name": "workspaceName", "value": "", "type": "path", "description": "The name of the workspace." }, { "name": "sourceName", "value": "", "type": "path", "description": "The name of the source." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new destination for a specific source in the workspace." }, { "info": { "name": "Get destination", "type": "http" }, "http": { "method": "GET", "url": "https://platform.segmentapis.com/v1beta/workspaces/:workspaceName/sources/:sourceName/destinations/:destinationName", "params": [ { "name": "workspaceName", "value": "", "type": "path", "description": "The name of the workspace." }, { "name": "sourceName", "value": "", "type": "path", "description": "The name of the source." }, { "name": "destinationName", "value": "", "type": "path", "description": "The name of the destination." } ] }, "docs": "Returns a single destination by name for a specific source." }, { "info": { "name": "Update destination", "type": "http" }, "http": { "method": "PATCH", "url": "https://platform.segmentapis.com/v1beta/workspaces/:workspaceName/sources/:sourceName/destinations/:destinationName", "params": [ { "name": "workspaceName", "value": "", "type": "path", "description": "The name of the workspace." }, { "name": "sourceName", "value": "", "type": "path", "description": "The name of the source." }, { "name": "destinationName", "value": "", "type": "path", "description": "The name of the destination." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a destination's configuration, including enabling or disabling it." }, { "info": { "name": "Delete destination", "type": "http" }, "http": { "method": "DELETE", "url": "https://platform.segmentapis.com/v1beta/workspaces/:workspaceName/sources/:sourceName/destinations/:destinationName", "params": [ { "name": "workspaceName", "value": "", "type": "path", "description": "The name of the workspace." }, { "name": "sourceName", "value": "", "type": "path", "description": "The name of the source." }, { "name": "destinationName", "value": "", "type": "path", "description": "The name of the destination." } ] }, "docs": "Deletes a destination from a source in the workspace." }, { "info": { "name": "List destinations", "type": "http" }, "http": { "method": "GET", "url": "https://platform.segmentapis.com/v1beta/destinations", "params": [ { "name": "pagination[cursor]", "value": "", "type": "query", "description": "Cursor for pagination. Use the cursor returned in a previous response to fetch the next page." }, { "name": "pagination[count]", "value": "", "type": "query", "description": "Number of items to return per page." } ] }, "docs": "Returns a list of all destinations in the workspace, including their configuration and connection status." }, { "info": { "name": "Create destination", "type": "http" }, "http": { "method": "POST", "url": "https://platform.segmentapis.com/v1beta/destinations", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new destination connected to a source in the workspace." }, { "info": { "name": "Get destination", "type": "http" }, "http": { "method": "GET", "url": "https://platform.segmentapis.com/v1beta/destinations/:destinationId", "params": [ { "name": "destinationId", "value": "", "type": "path", "description": "The unique identifier of the destination." } ] }, "docs": "Returns a single destination by its ID, including its configuration and connection status." }, { "info": { "name": "Update destination", "type": "http" }, "http": { "method": "PATCH", "url": "https://platform.segmentapis.com/v1beta/destinations/:destinationId", "params": [ { "name": "destinationId", "value": "", "type": "path", "description": "The unique identifier of the destination." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing destination with the provided changes." }, { "info": { "name": "Delete destination", "type": "http" }, "http": { "method": "DELETE", "url": "https://platform.segmentapis.com/v1beta/destinations/:destinationId", "params": [ { "name": "destinationId", "value": "", "type": "path", "description": "The unique identifier of the destination." } ] }, "docs": "Deletes a destination from the workspace by its ID." } ] } ], "bundled": true }