Media
Get a media item file
Changed onGet a media item file.
get/media/{id}/data
Request
- Base URLhttps://example.com/api
- Auth
- OAuth 2Authorization codehttps://example.com/oauth2/authorizeToken URLhttps://example.com/api/oauth2/tokenScopesmedia:read
- or API key in header XF-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Changes
- warning
deleted the
pathrequest parameterid - info
api operation id
get_media_id_dataremoved and replaced withgetMediaIdData - info
the endpoint scheme security
XF-Api-Keywas added to the API - info
the endpoint scheme security
XF-OAuth2was added to the API - info
added the new optional
headerrequest parameterXF-Api-Userto all path's operations - info
added the new optional
queryrequest parameterapi_bypass_permissionsto all path's operations
- warning
- info
api tag
Mediaadded - info
api tag
mediaremoved
- info