List the media library
Every photo and file the user uploaded to the project's media library (in the portal under Media, or with an upload link from POST /media/links), newest first, with the folders. Per file: path under /media/, size, width and height, the 640 version for srcset, alt text, and the sites that use it. A file on no site has url null: it is private until you put it on a site with POST /sites or PUT /sites/{id} and media. Never contains the bytes. folder narrows to a folder (with its subfolders), path to one file, site_id to the files on one site.
Request
- Base URL: https://api.hypamoon.com/api/v1
- URL: https://api.hypamoon.com/api/v1/media
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: sites:read)
Query parameters
Only this folder under /media/, with its subfolders, like portfolio.
Only the file with this path, like /media/logo.webp.
Only the files this site uses.
At most this many files (default 100).
next_cursor from the previous page.
Only files with this tag.
Only this kind of file.
A word in the name, path or title.
true: also the files in the trash (deleted_at set).
Response
The files and the folders.
Changes
No recorded changes to this operation across all 1 revision of this API.