Class Definition
Get object brick definition by key
Changed onGet a single object brick definition by its unique <strong>{key}</strong>. <br> The <strong>{key}</strong> must be the key of an existing object brick definition.
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
Object brick definition detail
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
- info
endpoint added
- info