Assets

Patch assets by ID

Changed on

Patching assets based on the given ID and data. <br> Patching can be used for updating single or multiple fields. <br> If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.

patch/pimcore-studio/api/assets

Request

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

Request body

Example request

{
  "data": [
    {
      "id": 83,
      "coauthorType": "agent",
      "coauthor": "product-data-agent",
      "metadata": [
        {
          "name": "custom_metadata",
          "language": "en",
          "type": "input",
          "data": "data"
        }
      ]
    }
  ]
}

Response

Successfully patched asset

Changes

    • info

      added the new optional request property //

    • info

      added the new optional request property //