Exercise history
GET {{base_url}}/account/:userId
A GET
to the /account/:userId endpoint returns a list of past exercises for an authenticated user.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
"[\n {\n \"user_id\": \"39\"\n \"exercise_id\": \"403829\",\n \"name\": \"exercises\",\n \"data_recommended\": \"July 19th 2018, 11:51:24 pm\"\n },\n {\n \"user_id\": \"39\"\n \"exercise_id\": \"403830\",\n \"name\": \"burpees\",\n \"data_recommended\": \"July 19th 2018, 12:15:49 pm\"\n },\n {\n \"user_id\": \"39\"\n \"exercise_id\": \"403831\",\n \"name\": \"arm circles\",\n \"data_recommended\": \"July 19th 2018, 12:18:13 pm\"\n }\n]"