This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Uploads a temporary media item. If the media item isn't persisted within 1 hour, the item will be deleted.
If multiple resources are attributed to, usage will be attributed to the first one in the list.
The body of the request must contain the binary content of the file and the Content-Type header must be application/octet-stream.
Third-party applications using this endpoint via OAuth2 must request the following operation scopes: api:ontologies-read api:ontologies-write.
stringThe path to write the media item to. Required if the backing media set requires paths.
booleanA boolean flag that, when set to true, enables the use of beta features in preview mode.
objectThe media reference for the uploaded media.
stringThe media type of the file or attachment.
Examples: application/json, application/pdf, application/octet-stream, image/jpeg
unionA union of the types supported by media reference properties.