API Endpoint: List Categories
Returns a list of all categories sorted alphabetically.
Request
GET /api/1.0/topics GET Parameters
| offset | Optional. Integer. The number of categories to skip from the beginning. Range: [0, infinity). Defaults to 0. |
| limit | Optional. Integer. The number of categories 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/1.0/topics?offset=300&limit=5
Example Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | [
{
"topic":"Canon EOS Rebel XS",
"categories":[
"Canon Camera"
]
},
{
"topic":"Canon EOS Rebel XS 35mm",
"categories":[
]
},
{
"topic":"Canon iP2600 Printer",
"categories":[
"Printer"
]
},
{
"topic":"Canon Optura 100MC",
"categories":[
"Camcorder"
]
},
{
"topic":"Canon Optura 100MC Troubleshooting",
"categories":[
]
}
]
|