API Endpoint: List All Badges
Returns a list of iFixit badges sorted by name.
Request
GET /api/0.1/badges GET Parameters
| offset | Optional. Integer. The number of badges to skip from the beginning. Range: [0, infinity). Defaults to 0. |
| limit | Optional. Integer. The number of badges to include in the response. Range: [1, 200]. Defaults to 20. |
| jsonp | Optional. String. The name of a Javascript function to call with the results. See JSONP. |
Example Request
/api/0.1/badges?offset=42&limit=2
Example Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | [
{
"badgeid":5,
"name":"Nice Question",
"type":"bronze",
"category":"badgeAnswers",
"description":"Question with score of four",
"num_users":144
},
{
"badgeid":63,
"name":"Novice Repairman",
"type":"bronze",
"category":"badgeGuide",
"description":"Successfully follow a guide",
"num_users":19407
}
]
|