Version 8.3.8

Back | 

WsThumbnail

Returns list of thumbnails for a given asset identifier or thumbnail id

URL Format

/ws/ws_thumbnail/api/{app_token}/mode/json/apiv/5?assetId={assetId}&assetUUID={assetUUID}&referenceId={referenceId}&id={thumbnailId}

Parameters

Name Req Type Description
app_token string Api token for the given account. You can find the api token when navigating through account->api accounts
apiv integer Api version; only version 5 supported.
assetId string Id of a given asset.
referenceId string Reference id of a given asset.
assetUUID string UUID of a given asset.
id string Id of a given thumbnail.

Request Headers

Name

Possible Responses

  • 324 Thumbnail Found
  • 325 Thumbnails Found
  • 657 Invalid Thumbnail
  • 666 Asset Associated With Thumbnail Is Invalid
  • 348 Invalid Asset Identifier
  • 637 Invalid Asset
  • 205 invalid asset type
  • 903 User not associated to asset
  • 1051 Invalid Boolean Params

Example Response

{
  "response": {
    "wsThumbnailResponse": {
      "thumbnails": [
        {
          "id": 3561555,
          "title": "jr1dys4p_thumb__0004",
          "assetId": 1036775,
          "filename": "pfv547x4.jpg",
          "path": "p\/f\/v\/",
          "mime": "image\/jpeg",
          "width": 480,
          "height": 270,
          "sortnum": 1,
          "isDeleted": 0,
          "thubmailUrl": "http:\/\/ovp.piksel.tech\/thumb.php?tid=3561555"
        },
        {
          "id": 3561556,
          "title": "jr1dys4p_thumb__0003",
          "assetId": 1036775,
          "filename": "h932o1s6.jpg",
          "path": "h\/9\/3\/",
          "mime": "image\/jpeg",
          "width": 480,
          "height": 270,
          "sortnum": 2,
          "isDeleted": 0,
          "thubmailUrl": "http:\/\/ovp.piksel.tech\/thumb.php?tid=3561556"
        }
      ]
    }
  }
}