{ "opencollection": "1.0.0", "info": { "name": "Stack Exchange Answers Badges API", "version": "2.3" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://stackoverflow.com/oauth", "accessTokenUrl": "https://stackoverflow.com/oauth/access_token/json", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Badges", "type": "folder" }, "items": [ { "info": { "name": "Get All Badges", "type": "http" }, "http": { "method": "GET", "url": "https://api.stackexchange.com/2.3/badges", "params": [ { "name": "site", "value": "stackoverflow", "type": "query", "description": "The Stack Exchange site to query. Use the API name of the site, e.g., stackoverflow, serverfault, superuser." }, { "name": "page", "value": "", "type": "query", "description": "The page number to return (1-indexed)" }, { "name": "pagesize", "value": "", "type": "query", "description": "Number of results to return per page (max 100)" }, { "name": "order", "value": "", "type": "query", "description": "Sort order for results" }, { "name": "sort", "value": "", "type": "query", "description": "The field to sort results by (varies by endpoint)" }, { "name": "inname", "value": "", "type": "query", "description": "Filter badges whose name contains this string" }, { "name": "filter", "value": "", "type": "query", "description": "A filter to control which fields are returned in the response. Use the /filter endpoint to create custom filters." } ] }, "docs": "Returns all badges in the system. Badges are awarded to users for performing actions or achieving goals on a Stack Exchange site." }, { "info": { "name": "Get Badges by IDs", "type": "http" }, "http": { "method": "GET", "url": "https://api.stackexchange.com/2.3/badges/:ids", "params": [ { "name": "ids", "value": "", "type": "path", "description": "Semicolon-delimited list of badge IDs" }, { "name": "site", "value": "stackoverflow", "type": "query", "description": "The Stack Exchange site to query. Use the API name of the site, e.g., stackoverflow, serverfault, superuser." }, { "name": "filter", "value": "", "type": "query", "description": "A filter to control which fields are returned in the response. Use the /filter endpoint to create custom filters." } ] }, "docs": "Returns badges identified by the provided semicolon-delimited list of badge IDs." } ] } ], "bundled": true }