Management API Documentation

Create media

Description

Create a new media

Important: this method uses the “multipart/form-data” format, because of file upload efficiency

Url

Parameters optional

  • file: file with the new media object

Example

Create a media object, using local file new_logo.jpg

Request

Response

HTTP Status code: 201 Created

Errors

HTTP Status code: 400 Bad Request

POST data is not in multipart/form-data

Invalid media