{ "opencollection": "1.0.0", "info": { "name": "Pixelfed REST Accounts Push Notifications 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": "Push Notifications", "type": "folder" }, "items": [ { "info": { "name": "Update Web Push subscription", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}/api/v1.1/push/update-subscription", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{instance}/oauth/authorize", "accessTokenUrl": "https://{instance}/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates or updates a Web Push notification subscription." } ] } ], "bundled": true }