{ "opencollection": "1.0.0", "info": { "name": "Pixelfed REST Accounts Collections API", "version": "1.1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{instance}/oauth/authorize", "accessTokenUrl": "https://{instance}/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Collections", "type": "folder" }, "items": [ { "info": { "name": "Create a collection", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}/api/v1.1/collections/create", "params": [ { "name": "title", "value": "", "type": "query" }, { "name": "description", "value": "", "type": "query" }, { "name": "visibility", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{instance}/oauth/authorize", "accessTokenUrl": "https://{instance}/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a new Pixelfed photo collection." }, { "info": { "name": "Update a collection", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}/api/v1.1/collections/update", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "title", "value": "", "type": "query" }, { "name": "description", "value": "", "type": "query" }, { "name": "visibility", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{instance}/oauth/authorize", "accessTokenUrl": "https://{instance}/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates an existing Pixelfed photo collection." }, { "info": { "name": "Delete a collection", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}/api/v1.1/collections/delete", "params": [ { "name": "id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{instance}/oauth/authorize", "accessTokenUrl": "https://{instance}/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Deletes a Pixelfed photo collection." } ] } ], "bundled": true }