dambel

دمبل

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

API Docs / media / download



GET /api/v1/media/{media-id}

Downloads a media file by its ID.

No authentication required.


Permissions

You must have view permission for the target attachable resource (except the ones that are accessible without authentication).


URL Parameters

NameTypeRequiredDescriptionExample
media-idintYesID of the media to download123

Request Example

GET /api/v1/media/123
Authorization: Bearer {token}

Response

200 OK

The media file will be returned as a binary download.


Error Responses

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

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

LinkedinInstagramXYoutube