Skip to main content
An asset is a file stored in Media Cloud, together with the metadata Media Cloud detects for it. Every asset is a JSON:API resource with type: "assets".

Attributes

extension and mime_type reflect what Media Cloud detects in the file, not the name you uploaded. A .docx file can come back as zip and application/zip when its contents are detected that way.

File URLs

Each asset exposes three URLs, all built from public_file_id:
  • url: /api/v1/files/{public_file_id}/content, the file itself.
  • thumbnail_url: the same path with ?variant=thumbnail, for images.
  • download_url: /api/v1/files/{public_file_id}/download, which downloads it.

Example