{ "opencollection": "1.0.0", "info": { "name": "BTCPay Greenfield API Keys Files API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Files", "type": "folder" }, "items": [ { "info": { "name": "Get all files", "type": "http" }, "http": { "method": "GET", "url": "https://{btcpay-host}/api/v1/files", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Load all files that exist." }, { "info": { "name": "Uploads a file", "type": "http" }, "http": { "method": "POST", "url": "https://{btcpay-host}/api/v1/files", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" } ] }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Uploads a file" }, { "info": { "name": "Get file", "type": "http" }, "http": { "method": "GET", "url": "https://{btcpay-host}/api/v1/files/:fileId", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The file information to fetch" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "View information about the specified file" }, { "info": { "name": "Delete file", "type": "http" }, "http": { "method": "DELETE", "url": "https://{btcpay-host}/api/v1/files/:fileId", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The file to delete" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Deletes the file" } ] } ], "bundled": true }