{ "opencollection": "1.0.0", "info": { "name": "Buttondown Attachments API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Attachments", "type": "folder" }, "items": [ { "info": { "name": "List Attachments", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/attachments", "params": [ { "name": "ids", "value": "att_01h8xg4j3k2m1n0p9q8r7s6t5v", "type": "query", "description": "If provided, only return attachments matching the given IDs." }, { "name": "page_size", "value": "", "type": "query", "description": "The number of results per page." }, { "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 attachments" }, { "info": { "name": "Create Attachment", "type": "http" }, "http": { "method": "POST", "url": "https://api.buttondown.com/v1/attachments", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "name", "type": "text", "value": "" } ] }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Upload a new attachment" }, { "info": { "name": "Retrieve Attachment", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/attachments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieve an attachment" }, { "info": { "name": "Delete Attachment", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.buttondown.com/v1/attachments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Delete an attachment" } ] } ], "bundled": true }