Use the API from another interface
The routes below are relative to/media-studio/api/v1/workspaces/{workspace}.
Use your application’s authentication and CSRF settings.
Personal views accept the same
search, limit and opaque cursor parameters
as the regular library. Omit parent for these views. Open a file to record a
visit. Reading its thumbnail, original or preview URL does not record a visit.
To move two items to another folder, send their current revisions and the
destination folder’s public ID.
"parent": null to move to the workspace root. Omit parent for
"operation": "trash" and "operation": "restore". The result contains
updated cards in items. Use their new revisions in subsequent requests.
Audio and video preview
Studio opens playable audio and video in the fullscreen viewer. Playback uses the selected file’s authenticated version URL and the browser’s media controls. The grid does not request playback bytes. When the preview opens, the player requests metadata and starts playback when the user presses Play. Seeking uses HTTP byte ranges on supported disks, including private S3. Add the MIME types your application accepts toupload.mime_types in the
published configuration. Common examples are audio/mpeg, audio/wav,
audio/x-wav, video/mp4 and video/webm. Playback depends on the browser
supporting the file’s codec. Unsupported files remain downloadable.