Media
List media
Page through the media library of the workspaces the key can reach.
GET
List media
Needs
media:read. See Permissions.per_page takes 1 to 100; more than 100 gives 100.
workspace_idkeeps one workspace’s files.folder_idkeeps the files directly in one folder (not its subfolders);root_only=1keeps the files in no folder. Send one of them, not both.all_folders=1gives every file, in a folder or not, whateverfolder_idandroot_onlysay.
root_only and all_folders take 1 or 0: true and false are refused with 422.
source=aikeeps the files PostSyncer’s AI made;source=uploadevery other file.
links in the answer carry only page: send your filters and per_page again with each page. A picture has thumb_url and medium_url once they are made: see Picture copies.
Errors
Related
- List folders: the
folder_idvalues. - Get a media file: one file by its id.