Class Definition

class_object_brick_get_by_key_summary

Changed on

class_object_brick_get_by_key_description

get/pimcore-studio/api/class/object-brick/{key}

Request

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

Path parameters

keystring required
Example:MyObjectBrick

Object brick unique key

Response

class_object_brick_get_by_key_success_response

additionalAttributesobject

AdditionalAttributes

keystring required

Key

titlestring nullable required

Title

groupstring nullable required

Group

parentClassstring nullable required

Namespace of parent class

implementsInterfacesstring nullable required

Interface implementations

blockedVarsForExportstring[] required

Blocked variables for export

isWriteableboolean required

Whether the object brick definition can be written to

Example response

{
  "key": "MyObjectBrick",
  "title": "My Object Brick",
  "group": "system",
  "parentClass": "App\\Model\\DataObject\\ObjectBrick",
  "implementsInterfaces": "App\\Model\\DataObject\\Interface",
  "blockedVarsForExport": [],
  "isWriteable": true,
  "classDefinitions": [
    {
      "classname": "fieldTest",
      "fieldname": "myBrickField"
    }
  ]
}

Changes