Embedded images

Fetch metadata and files for images embedded in the content of a work expression.

Some documents include images. The media API includes metadata for these images, and provides a mechanism to fetch the images from the API so that you can store them and serve them to your users when they view the content.

List media files for a work expression

get

API for fetching media files (usually images) embedded in a document.

Authorizations
sessionidstringRequired
Path parameters
frbr_uristringRequired

The FRBR URI of the work or work expression, without the first slash, such as akn/za/act/1994/2/

Query parameters
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

Responses
200Success
application/json
get
/v3/{frbr_uri}/media
200Success

Download a media file

get

Download a media file.

Authorizations
sessionidstringRequired
Path parameters
filenamestringRequiredPattern: ^.*$
frbr_uristringRequired

The FRBR URI of the work or work expression, without the first slash, such as akn/za/act/1994/2/

Responses
200Success
application/json
Responsestring · binary
get
/v3/{frbr_uri}/media/{filename}
200Success

Last updated