{ "opencollection": "1.0.0", "info": { "name": "Pixelfed REST Accounts Direct Messages 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": "Direct Messages", "type": "folder" }, "items": [ { "info": { "name": "Get direct messages", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}/api/v1.1/direct", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return (default 20, max 80)" }, { "name": "max_id", "value": "", "type": "query", "description": "Return results older than this ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{instance}/oauth/authorize", "accessTokenUrl": "https://{instance}/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns direct message conversations (Pixelfed-specific)." } ] } ], "bundled": true }