Get Equipment
GET https://api.runningahead.com/rest/logs/me/equipment/{id}
Get the details of the equipment identified by id
. The
id
is obtained by calling
List Equipment.
Request
Parameter |
Type |
Description |
access_token |
string (required) |
OAuth 2.0 token for the current user. |
Response
Parameter |
Type |
Description |
equipment |
Equipment |
The requested equipment |
Example
Request
https://api.runningahead.com/rest/logs/me/equipment/d4faa3d754ba4dbc8c0517872a89c722?
access_token=VjU5s4dyhAPO2XiUzaNVeE
Response
{
"code": 0,
"data":
{
"equipment":
{
"activityID": 10,
"brandID": "b09d516e4ae641ac9e7aa19df639e25e",
"brandName": "Nike",
"distance":
{
"unit": "m",
"value": 6759.25
},
"id": "bc445b19d86f4aa291721c6bdff1456a",
"modelID": "b9e68a1e1ca64de48b67237d998b7860",
"modelName": "Zoom Structure+ 15",
"purchaseDate": "2012-01-21"
}
}
}