File
Last updated
Last updated
The Metadata API allows you to interact with the files of a given workspace. You can upload, get, delete, and bulk delete files.
Upload a file to a workspace.
workspace_id - required to determine which workspace the file should live.
content - the file that is being uploaded.
type - optionally enforce a file type: image, video, or audio. An attachment is the default selection.
Example Response Body:
Taking part of the response body from the previous example, we can add the file to a database table.
We can take the metadata object and use it for creating content of an image field.