The following macros are not currently supported in the header:
- style
Upload attachment (resource)
UNDER DEVELOPMENT
The following endpoint can be used to upload an attachment (resource)
POST /:object_type/:object_id/collections/resources
Parameters
Table of allowed parameters. Required fields are underlined.
resource | file | File to be uploaded |
---|
Â
Â
Handling the response
title | String | The title for the attachment |
---|---|---|
size | Integer in bit | The size of the attachment. |
mimetype | String | The mime type of the attachment |