media

Get (HTML) template for media resource

Description

Depending on media type of requested resource, returns the corresponding (HTML) template.

Parameters

action
media
area
The area of the requested resource e.g. 'live', 'holding'.
resource
The name of the requested resource.
lang
A language version of a publication.
pub
A publication, which is a logical grouping of information (topics and multimedia) related to a specific subject, containing one or more language versions.

Example URL

http://<host>:<port>/<context>/web/content.xql?action=media&area=<value>&resource=<value>&lang=<value>&pub=<value>

Successful Result

Returns an HTML template depending on media type, processed by (ui_skin.xsl) to add metadata and skin-related modifications.

Failed Result

404 error if resource is not available or template is not available.

Permission exception if  user does not have 'Use application' permission (or 'Manage App', if resource is in 'holding' area).