{"__v":9,"_id":"5707e3b2b8993d17005bb8b8","category":{"__v":0,"_id":"5705b12221cfed0e00e8c580","project":"56abbf55f25f160d00e17f4e","version":"56abbf55f25f160d00e17f51","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-04-07T01:00:18.230Z","from_sync":false,"order":4,"slug":"server-side-api","title":"Server Side API"},"parentDoc":null,"project":"56abbf55f25f160d00e17f4e","user":"56abbec30b9e0b0d00616274","version":{"__v":12,"_id":"56abbf55f25f160d00e17f51","project":"56abbf55f25f160d00e17f4e","createdAt":"2016-01-29T19:36:53.665Z","releaseDate":"2016-01-29T19:36:53.665Z","categories":["56abbf56f25f160d00e17f52","56abca6bf9757e0d007c6650","56acddfa0ab3c00d00ce3332","56af65da9d32e30d0006d30f","56af66cab34d210d003d9ad0","56af6afcd21e9c0d00b628d1","56af6d6ecc4cbd0d00ce2c88","5705b12221cfed0e00e8c580","570a5676ade45d0e00c1ad33","570d7d25d1e4b82000d9e385","570eac3c3160d10e0041df0e","575709000fd6a3200010dded"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-08T17:00:34.865Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -XGET 'http://api.kongregate.com/badges.json'","language":"curl","name":"Retrieve All Badges"}]},"results":{"codes":[{"status":200,"language":"json","code":"[\n  {\n    \"badge_id\": 1993,\n    \"created_at\": \"2015-11-03T05:56:50-08:00\"\n  },\n  {\n    \"badge_id\": 1852,\n    \"created_at\": \"2012-11-27T18:34:48-08:00\"\n  },\n  {\n    \"badge_id\": 1853,\n    \"created_at\": \"2012-11-27T18:34:48-08:00\"\n  },\n  {\n    \"badge_id\": 1250,\n    \"created_at\": \"2010-12-08T09:48:34-08:00\"\n  },\n  {\n    \"badge_id\": 1251,\n    \"created_at\": \"2010-12-08T09:48:34-08:00\"\n  },\n  {\n    \"badge_id\": 250,\n    \"created_at\": \"2009-09-28T19:31:38-07:00\"\n  },\n  {\n    \"badge_id\": 249,\n    \"created_at\": \"2009-09-28T19:23:16-07:00\"\n  }\n]","name":"Retrieve All Badges"}]},"settings":"","auth":"required","params":[],"url":"/badges.json"},"isReference":true,"order":1,"body":"This endpoint is useful for people making things like the [Kongregate Firefox Sidebar](https://addons.mozilla.org/en-US/firefox/addon/7290). There are two different badge feeds - one for badge releases on the site, and the other as a list of badges a particular user has earned.\n\nYou can query for which badges a user has been awarded using the [User Badges](doc:server-api-user-badges) API.","excerpt":"Retrieves badge definitions","slug":"server-api-badges","type":"get","title":"Badges"}

getBadges

Retrieves badge definitions

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

This endpoint is useful for people making things like the [Kongregate Firefox Sidebar](https://addons.mozilla.org/en-US/firefox/addon/7290). There are two different badge feeds - one for badge releases on the site, and the other as a list of badges a particular user has earned. You can query for which badges a user has been awarded using the [User Badges](doc:server-api-user-badges) API.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}