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

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

Changed in 1 of the 15 revisions of this API.1