{ "opencollection": "1.0.0", "info": { "name": "Buttondown Imports API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Imports", "type": "folder" }, "items": [ { "info": { "name": "List Imports", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/imports", "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 imports" }, { "info": { "name": "Create Import", "type": "http" }, "http": { "method": "POST", "url": "https://api.buttondown.com/v1/imports", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "metadata", "type": "text", "value": "" } ] }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Create a new import by uploading a file" }, { "info": { "name": "Retrieve Import", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/imports/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieve a specific import by its ID" }, { "info": { "name": "Update Import", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.buttondown.com/v1/imports/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update an import's properties" }, { "info": { "name": "Delete Import", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.buttondown.com/v1/imports/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Delete an import" } ] } ], "bundled": true }