V3 > Media
Check media access (media-acl whitelisting).
Lightweight endpoint meant to be called with HEAD by the media-acl service: it forwards the manager session cookie, the mixed group's session_auth middleware turns it into the user's bearer, and the route middlewares (perm + model_availability) perform the same authorization as any other media route.
204 = the session is valid and the user may access the media. 401/403/404 = the caller must not whitelist the playback.
get/2/vod/media/{media}/access
Path parameters
mediastring required
Response
OK
Example response
{
"result": "success"
}Changes
Changed in 1 of the 15 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 19 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○