dambel

دمبل

shevron
ورود | ثبت نام

API Docs / gyms / equipment / compare



GET /api/v1/gyms/{gym-id}/equipment/compare/{workout-plan}

Compare workout plan required equipment to the gym equipment list to get list of the missing equipment in that gym for that workout plan.


Permissions

PermissionDescription
gyms.view_allRequired to view equipment for an inactive gym
workout_plans.viewTo view your own workout plans

URL Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123
workout-plan-idintYesID of the workout plan123

Request Example

GET /api/v1/gyms/123/equipment/compare/123
Authorization: Bearer {token}

Response

200 OK

Returns a list of the missing equipment

Example

{
  "data": [ { /* equipment resource */ }, ... ]
}

For a full schema, see Equipment Resource.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube