Appearance
Upload a media content with optional expiry date ​
POST
/v1/mediacontent/{related_type}/{related_id}/{media_type}
Upload a media content with optional expiry date.
Authorizations​
api_key
Type
API Key (header: X-Api-Key)
Parameters​
Path Parameters
related_type*
Type of the related entity
Type
Requiredstring
related_id*
ID of the related entity
Type
Requiredstring
media_type*
Type of the media content
Type
Requiredstring
Request Body​
multipart/form-data
Default
nullDefault
nullISO 8601 datetime string for when content expires
Default
nullOrder value for the mediacontent
Default
100Responses​
Created
application/json
JSON"mediacontent_id": "string","related_type": "string","related_id": "string","media_type": "string","media_sizes": ["string"],"filename": null,"created_by": null,"created": null,"media_url": null,"expiry_date": null,"order": null
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}