{ "opencollection": "1.0.0", "info": { "name": "Pixelfed REST Accounts Discovery 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": "Discovery", "type": "folder" }, "items": [ { "info": { "name": "Get trending tags", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}/api/v1/trends", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return (default 20, max 80)" } ] }, "docs": "Returns hashtags that are trending within the past week." }, { "info": { "name": "Get follow suggestions", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}/api/v1/suggestions", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return (default 20, max 80)" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://{instance}/oauth/authorize", "accessTokenUrl": "https://{instance}/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns accounts suggested for the authenticated user to follow." }, { "info": { "name": "Get profile directory", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}/api/v1/directory", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return (default 20, max 80)" }, { "name": "offset", "value": "", "type": "query" }, { "name": "order", "value": "", "type": "query" }, { "name": "local", "value": "", "type": "query" } ] }, "docs": "Returns accounts visible in the profile directory." } ] } ], "bundled": true }