GET page/media-list/{title}/{revision}

unknown:wikipedia-rest-api

Summary: Get list of media files used on a page.
Operation ID: getContentWithRevision-media-list
Auth: unknown
Description

Gets the list of media items (images, audio, and video) in the order in which they appear on a given wiki page. Stability: [unstable](https://www.mediawiki.org/wiki/Wikimedia_Product/Wikimedia_Product_Infrastructure_team/API_endpoint_stability_policy#Unstable) Please follow [wikitech-l](https://lists.wikimedia.org/mailman/listinfo/wikitech-l) or [mediawiki-api-announce](https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce) for announcements of breaking changes.

Parameters (3)

redirect (boolean, query, optional)

Requests for [redirect pages](https://www.mediawiki.org/wiki/Help:Redirects) return HTTP 302 with a redirect target in `Location` header and content in the body. To get a 200 response instead, supply `false` to the `redirect` parameter.

revision (integer, path, required)

Optional page revision. Note that older revisions are not stored, so request latency with the revision would be higher.

title (string, path, required)

Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.

No probe data for this endpoint yet.