v1
latestOpenAPI 3.0.02026-07-24226294602.4 KBWorkout
Get Workout
Get a Workout record for the specified Workout identifier.
get/workouts/{workout_id}
Path parameters
workout_idinteger required
workout identifier.
Headers
x-api-keystring required
A valid API key. If you don't have one, please request one through the Web Integrations screen.
Response
Workout found
Example response
{
"date": "2014-12-31",
"internal_publish_date": "2014-12-31",
"internal_publish_time": "23:59:59",
"blog_publish_date": "2014-12-31",
"blog_publish_time": "23:59:59",
"ownership_level_id": 1234567891234567,
"program_id": 1234567891234567,
"copied_from_workout_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
},
"locations": [
{
"location_id": 1234567891234567
}
],
"workout_components": [
{
"id": 1234567891234567,
"component_id": 1234567891234567,
"component_type_id": 1234567891234567,
"uom_weight_id": 1234567891234567,
"uom_distance_id": 1234567891234567,
"file_storage_id": 1234567891234567,
"section_id": 1234567891234567,
"image_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
},
"videos": [
{
"id": 1234567891234567,
"file_storage_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
}
}
],
"images": [
{
"id": 1234567891234567,
"file_storage_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
}
}
]
}
]
}