Asset Thumbnails

Create a new video thumbnail configuration

Creates a new video thumbnail configuration with the given <strong>{name}</strong>. <br> The <strong>{name}</strong> must be unique.

post/pimcore-studio/api/thumbnails/video/config

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/thumbnails/video/config
  • Auth: none declared

Request body

namestring required

Thumbnail configuration name

Example request

{
  "name": "my-thumbnail"
}

Response

Successfully created video thumbnail configuration

additionalAttributesobject

AdditionalAttributes

writeableboolean required

Is configuration writeable

mediasobject required

Media query configurations with transformation items

Example response

{
  "settings": {
    "name": "content",
    "description": "thumbnail for content videos",
    "videoBitrate": 450,
    "audioBitrate": 128,
    "modificationDate": 1769430880,
    "creationDate": 1565353556
  },
  "writeable": true,
  "medias": {
    "default": [
      {
        "method": "scaleByHeight",
        "arguments": {
          "height": 300
        }
      }
    ],
    "500K": [
      {
        "method": "scaleByHeight",
        "arguments": {
          "height": 500
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.