v1

latestOpenAPI 3.1.02026-07-24474114.4 KB

Update Media

Update properties of media file

patch/contents/{id}

Path parameters

idstring required

Request body

idstring
tagsstring[]
namestring

Response

200

account_idstring
content_folder_idstring
content_typestring
created_atnumber
heightinteger
idstring
keystring
namestring
public_urlstring
tagsstring[]
thumb_urlstring
updated_atnumber
widthinteger

Example response

{
  "account_id": "5dba92731b5d034f7d8dca3d",
  "content_folder_id": "6194e663aa4a7e2f084e8375",
  "content_type": "image/png",
  "created_at": 1638274898.839,
  "created_by": {
    "account_id": "5dba92731b5d034f7d8dca3d",
    "email": "iatruetester+3110@gmail.com",
    "first_name": "QA",
    "groups": [
      "administrator"
    ],
    "id": "5dba92731b5d034f7d8dca3c",
    "last_name": "QA",
    "login_count": 11
  },
  "height": 200,
  "id": "61a617521b5d032eefc3a229",
  "key": "uploads/3f8bc97d431c31960c648c24ecb9c9ff.png",
  "meta": {
    "ETag": "\"3f8bc97d431c31960c648c24ecb9c9ff\"",
    "Key": "uploads/3f8bc97d431c31960c648c24ecb9c9ff.png",
    "LastModified": "Tue, 30 Nov 2021 12:21:36 UTC",
    "Size": 2307
  },
  "name": "allure.png",
  "public_url": "https://cdn-us.telemetrytv.com/uploads/5dba92731b5d034f7d8dca3d/3f8bc97d431c31960c648c24ecb9c9ff.png",
  "tags": [
    "deded"
  ],
  "thumb_url": "https://cdn-us.telemetrytv.com/uploads/5dba92731b5d034f7d8dca3d/3f8bc97d431c31960c648c24ecb9c9ff.thumb.png",
  "updated_at": 1639489767.5459998,
  "width": 200
}