API Endpoint: List a User's Completed Guides
Get a list of all guides that a user has successfully completed.
Request
GET /api/1.0/user/{userid}/success Route Parameters
| userid | Required. Integer. The userid of the user to retrieve. Can be obtained from a call to /api/users. |
GET Parameters
| offset | Optional. Integer. The number of guides to skip from the beginning. Defaults to 0. Range: [0, infinity). |
| limit | Optional. Integer. The number of guides to list in a single response. Defaults to 20. Range: [1, 200]. |
| jsonp | Optional. String. The name of a Javascript function to call with the results. See JSONP. |
Example Request
/api/1.0/user/84700/success?offset=1&limit=2
Example Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | [
{
"guideid": 383,
"device": "iPod 3rd Generation",
"thing": "Battery",
"title": "Installing iPod 3rd Generation Battery",
"author": "iRobot",
"author_userid": 1
},
{
"guideid": 1277,
"device": "LG VX5200",
"thing": "Battery",
"title": "Repairing LG VX5200 Battery",
"author": "jmarcum",
"author_userid": 105863
}
]
|