Represents a workout plan in the system.
Field | Type | Description |
---|---|---|
id | integer | Workout plan ID |
user_id | integer | User ID (creator) |
trainee_id | integer | Trainee ID |
title | string | Title |
description | string | Description |
is_active | boolean | Is it the current active plan that the athlete is following |
created_at | string | Creation timestamp |
sessions | array | List of Workout Plan Session Resource |
{
"id": 123,
"user_id": 123,
"trainee_id": 123,
"title": "...",
"description": "...",
"created_at": "2020-01-01 00:00:00",
"sessions": [<workout plan session resource>]
}