"As a Reader, I want to get a list of media files embedded in a page, so that I can view, read or listen to them. "
GET /page/{title}/medialinks
Returns medialinks for the page.
Notable request headers: none
Request body: None
Status:
200 - OK
404 – there has never been such a page
Body: JSON
- array of files in order by appearance in the page. Each file includes:
- title: title of the file
- timestamp: last modified timestamp
- preferred: preferred representation of the file, with the following elements
- mediatype: media type for the preferred representation of the file
- size: size of the preferred representation of the file in bytes
- width: width of the preferred representation of the file in pixels if applicable (image, video, ...?)
- height: height of the preferred representation of the file in pixels if applicable (image, video, ...?)
- duration: temporal duration of the the preferred representation of the file in seconds if applicable (video, audio, ...?)
- url: full URL of the binary version of the preferred representation of the file (the image/audio/video/document itself)
- license: array of strings with the list of licenses in [[ https://spdx.org/licenses/ | SPDX ]] format for the file
- author: user who uploaded the latest version of the file, object with {id, name}
- contributors: array of users who uploaded earlier versions, each an {id, name} object