Search

Get data object search results

Changed on

Get data object search results

post/pimcore-studio/api/search/data-objects

Request

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

Query parameters

classIdstring
Example:EV

Class Id of the data object

Request body

Example request

{
  "columns": [
    {
      "key": "id",
      "locale": "en",
      "type": "system.id",
      "group": [
        "system"
      ],
      "config": [
        {
          "advancedColumns": [
            {
              "key": "simpleField",
              "config": {
                "field": "name"
              }
            }
          ],
          "transformers": [
            {
              "key": "uppercase"
            }
          ]
        }
      ],
      "width": 200
    }
  ],
  "filters": {
    "page": 1,
    "pageSize": 50
  }
}

Response

Data object search results

totalItemsinteger required

Example response

{
  "totalItems": 666,
  "items": [
    {
      "columns": [
        {
          "key": "id",
          "locale": "en",
          "value": 73,
          "fieldType": "input",
          "inheritance": {
            "objectId": 42,
            "inInherited": true
          }
        }
      ],
      "permissions": {
        "list": true,
        "view": true,
        "publish": true,
        "delete": true,
        "rename": true,
        "create": true,
        "settings": true,
        "versions": true,
        "properties": true
      }
    }
  ]
}

Changes

    • info

      added the new optional request property //////////

    • info

      added the new optional request property //////////

    • info

      added the new optional request property //////////

    • info

      added the new optional request property //////////

    • info

      added the new optional request property //

    • info

      added the new optional request property /