Files

Get a one-hour link to read one of your media files

For video, audio and raster images. url is a presigned GET valid one hour that supports HTTP range requests, so a player or decoder can read only the parts it needs. The URL is a credential for that hour: do not log it or pass it on. Ask again when it expires. A file stored only on the server disk answers with the session serve path and expires_at: null. Unknown, foreign, other file types and files in a container your token cannot read are the same 404. Free.

get/v1/files/{uuid}/media-url

Request

  • Base URL: https://contentmaschine.ai/api
  • URL: https://contentmaschine.ai/api/v1/files/{uuid}/media-url
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)

Path parameters

uuidstring uuid required

The file uuid of a video, audio or image in your library.

Response

The link.

successboolean
timestampstring date-time

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.