Media

Create new media attachment.

Create new media attachment

post/rest/api/media/

Headers

Extra file parameters (e.g. 'Content-Disposition: filename=invoice.pdf')

Response

Create attachment correctly

uuidstring required
namestring required
typestring required
expiresAtstring date-time

Expiration date

Example response

{
  "uuid": "2ed996a6-0b91-529c-9728-f2e59532e7bc",
  "name": "Invoice-22-12-2020.pdf",
  "type": "application/pdf",
  "expiresAt": "2022-03-08T20:00:00Z"
}

Changes

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