dambel

دمبل

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

API Docs / gyms / subscriptions / my-subscriptions



GET /api/v1/gyms/{gym-id}/subscriptions/my-subscriptions

Retrieves the current user's subscriptions for a specific gym.


URL Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123

Request Example

GET /api/v1/gyms/123/subscriptions/my-subscriptions
Authorization: Bearer {token}

Response

200 OK

Returns a list of the user's gym subscriptions.

Example

[
  { /* gym subscription resource */ },
  { /* gym subscription resource */ }
]

For a full schema, see Gym Subscription Resource.


Error Responses

StatusDescriptionReference
404Gym not foundNot-found error
401UnauthorizedAuthentication error
footer wave
logo

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

LinkedinInstagramXYoutube