{ "opencollection": "1.0.0", "info": { "name": "Buttondown Segments API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Segments", "type": "folder" }, "items": [ { "info": { "name": "List Segments", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/segments", "params": [ { "name": "page", "value": "", "type": "query", "description": "The page number of the paginated response." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "List all segments" }, { "info": { "name": "Create Segment", "type": "http" }, "http": { "method": "POST", "url": "https://api.buttondown.com/v1/segments", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Create a new segment" }, { "info": { "name": "Retrieve Segment", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/segments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieve a specific segment by its ID" }, { "info": { "name": "Update Segment", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.buttondown.com/v1/segments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update a segment's properties" }, { "info": { "name": "Delete Segment", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.buttondown.com/v1/segments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Delete a segment" } ] } ], "bundled": true }