File

Get a piece of media

get

Get a piece of media

Path parameters
keystringRequired

The media key

Responses
200

successful operation

application/json
get
GET //media/storage/file/{key} HTTP/1.1
Host: api.ecosuite.io
Accept: */*
200

successful operation

{
  "media": {
    "createdDateTime": "text",
    "lastUpdatedDateTime": "text",
    "lastUpdateAuthor": "text",
    "tags": [
      "text"
    ],
    "contentType": "text",
    "contentEncoding": "text",
    "data": "text",
    "contentLength": 1,
    "tagIDs": [
      "text"
    ],
    "code": "text",
    "name": "text",
    "description": "text",
    "id": "text",
    "key": "text",
    "author": "text"
  }
}

Update a piece of media

put

Update a piece of media

Body

A generic piece of media.

namestringRequired
descriptionstringRequired
tagsstring[]Required
Responses
200

successful operation

application/json
put
PUT //media/storage/file/{key} HTTP/1.1
Host: api.ecosuite.io
Content-Type: application/json
Accept: */*
Content-Length: 52

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

successful operation

{
  "media": {
    "createdDateTime": "text",
    "lastUpdatedDateTime": "text",
    "lastUpdateAuthor": "text",
    "tags": [
      "text"
    ],
    "contentType": "text",
    "contentEncoding": "text",
    "data": "text",
    "contentLength": 1,
    "tagIDs": [
      "text"
    ],
    "code": "text",
    "name": "text",
    "description": "text",
    "id": "text",
    "key": "text",
    "author": "text"
  }
}

Delete a piece of media

delete

Delete a piece of media

Path parameters
keystringRequired

The media key

Responses
200

successful operation

application/json
delete
DELETE //media/storage/file/{key} HTTP/1.1
Host: api.ecosuite.io
Accept: */*
200

successful operation

{
  "deleted": "text"
}