Login | Sign Up
  • FA
  • EN

API Docs

Workout Plan Resource

Represents a workout plan in the system.


Schema

FieldTypeDescription
idintegerWorkout plan ID
user_idintegerUser ID (creator)
trainee_idintegerTrainee ID
traineeTraineeResourceTrainee resource (when loaded)
titlestringTitle
descriptionstringDescription
is_activebooleanIs it the current active plan that the athlete is following
created_atstringCreation timestamp
sessionsarrayList of Workout Plan Session Resource

Example

{
  "id": 123,
  "user_id": 123,
  "trainee_id": 123,
  "trainee": <trainee resource>,
  "title": "...",
  "description": "...",
  "created_at": "2020-01-01 00:00:00",
  "sessions": [<workout plan session resource>]
}

Related Resources


footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub