Files

Upload a new piece of media to the media service

post

Upload a new piece of media to the media service

Body

The information that is provided to upload some media.

contentTypestringRequired
contentEncodingstringRequired
namestringRequired
descriptionstringRequired
tagsstring[]Required
Responses
200

successful operation

application/json
post
POST //media/files/{code} HTTP/1.1
Host: api.ecosuite.io
Content-Type: application/json
Accept: */*
Content-Length: 98

{
  "contentType": "text",
  "contentEncoding": "text",
  "name": "text",
  "description": "text",
  "tags": [
    "text"
  ]
}
200

successful operation

{
  "url": "text"
}