Some HTML data<\/div>"}},{"name":"renderingClass","in":"query","description":"Optional rendering class to be used for rendering the layout","required":false,"schema":{"type":"string","example":"My\\Custom\\Class"}},{"name":"html","in":"query","description":"Optional static HTML to be used for rendering the layout","required":false,"schema":{"type":"string","example":"
Some HTML data<\/div>"}}],"responses":{"200":{"description":"Text layout preview as HTML","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\"text-layout-preview.html\""}}},"content":{"text\/html":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/definition\/configuration-view\/tree":{"get":{"tags":["Class Definition"],"summary":"Get class definition tree data","description":"Get class definition tree for all classes. Results can be grouped based on the {withGroup}<\/strong> parameter.\n","operationId":"class_definition_get_tree","parameters":[{"name":"withGroup","in":"query","description":"Whether to group the results.","required":true,"schema":{"type":"boolean","example":true}}],"responses":{"200":{"description":"Class definition data for the tree view","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/ClassDefinitionTreeNode"},{"$ref":"#\/components\/schemas\/ClassDefinitionTreeNodeFolder"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/collection":{"get":{"tags":["Class Definition"],"summary":"Get all field collection configurations","description":"Get all available field collection configurations in the system\n","operationId":"class_field_collection_collection","responses":{"200":{"description":"List of field collection configurations","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/FieldCollectionConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection":{"post":{"tags":["Class Definition"],"summary":"Create a new field collection definition","description":"Create a new empty field collection definition with the given {key}<\/strong>.
\nThe {key}<\/strong> must be unique and not already exist (case-insensitive).
\n","operationId":"class_field_collection_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateFieldCollection"}}}},"responses":{"200":{"description":"Successfully created field collection definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FieldCollectionDetail"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
405 - Method Not Allowed
409 - Conflict
415 - Unsupported Media Type
422 - Unprocessable Content
500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{key}":{"get":{"tags":["Class Definition"],"summary":"Get field collection by key","description":"Retrieves a specific field collection definition based on the given {key}<\/strong>.
\nThe {key}<\/strong> must be the key of an existing field collection definition.\n","operationId":"class_field_collection_get_by_key","parameters":[{"name":"key","in":"path","description":"Field collection unique key","required":true,"schema":{"type":"string","example":"MyFieldCollection"}}],"responses":{"200":{"description":"Field collection detail data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FieldCollectionDetail"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Class Definition"],"summary":"Update field collection definition by given key","description":"Update an existing field collection definition with the given {key}<\/strong> and parameters.
\nThe {key}<\/strong> must be the key of an existing field collection definition.
\nThe {values}<\/strong> and {configuration}<\/strong> fields are required.\n","operationId":"class_field_collection_update","parameters":[{"name":"key","in":"path","description":"Field collection unique key","required":true,"schema":{"type":"string","example":"MyFieldCollection"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FieldCollectionUpdate"}}}},"responses":{"200":{"description":"Successfully updated field collection definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FieldCollectionDetail"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content
500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Class Definition"],"summary":"Delete a field collection definition","description":"Delete a field collection definition with the given {key}<\/strong>.
\nThe {key}<\/strong> must be the key of an existing field collection definition.\n","operationId":"class_field_collection_delete","parameters":[{"name":"key","in":"path","description":"Field collection unique key","required":true,"schema":{"type":"string","example":"MyFieldCollection"}}],"responses":{"200":{"description":"Successfully deleted field collection definition"},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content
500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{key}\/export":{"get":{"tags":["Class Definition"],"summary":"Export a field collection definition as JSON","description":"Export a field collection definition as JSON for the given {key}<\/strong>.
\nThe {key}<\/strong> must be the key of an existing field collection definition.\n","operationId":"class_field_collection_export","parameters":[{"name":"key","in":"path","description":"Field collection unique key","required":true,"schema":{"type":"string","example":"MyFieldCollection"}}],"responses":{"200":{"description":"Exported field collection definition as JSON","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\"fieldcollection_MyFieldCollection_export.json\""}}},"content":{"application\/json":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{key}\/import":{"post":{"tags":["Class Definition"],"summary":"Import a field collection definition from JSON file","description":"Import a field collection definition from a previously exported JSON file for the given field collection {key}<\/strong>.
\nThe {key}<\/strong> must be the key of an existing field collection definition.\n","operationId":"class_field_collection_import","parameters":[{"name":"key","in":"path","description":"Field collection unique key","required":true,"schema":{"type":"string","example":"MyFieldCollection"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"Import file with JSON encoded field collection definition","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully imported field collection definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FieldCollectionDetail"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content
500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{objectId}\/object\/layout":{"get":{"tags":["Class Definition"],"summary":"Get all layouts from the field collection for an given object","description":"Get all layouts from the field collection for an given object\n","operationId":"class_field_collection_object_layout","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of layouts","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/FieldCollectionLayoutDefinition"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{key}\/layout":{"get":{"tags":["Class Definition"],"summary":"Get field collection layout definition by key","description":"Retrieves the layout definition for a specific field collection based on the given {key}<\/strong>.
\nThe {key}<\/strong> must be the key of an existing field collection definition.\n","operationId":"class_field_collection_get_layout_by_key","parameters":[{"name":"key","in":"path","description":"Field collection unique key","required":true,"schema":{"type":"string","example":"MyFieldCollection"}}],"responses":{"200":{"description":"Field collection layout definition data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigLayoutDefinition"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/tree":{"get":{"tags":["Class Definition"],"summary":"Get field collection tree","description":"Get the field collection tree with grouped folders.
\nOptionally filter by allowed types using a comma-separated list via the {allowedTypes}<\/strong> query parameter.\n","operationId":"class_field_collection_get_tree","parameters":[{"name":"allowedTypes","in":"query","description":"Comma-separated list of allowed field collection types to filter by.","required":false,"schema":{"type":"string","example":"NewsCars,NewsText"}}],"responses":{"200":{"description":"Field collection tree with nodes and folders","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/FieldCollectionTreeNode"},{"$ref":"#\/components\/schemas\/FieldCollectionTreeNodeFolder"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/field-collection\/{key}\/usages":{"get":{"tags":["Class Definition"],"summary":"Get field collection usage data","description":"Get usage data showing which classes and fields use the field collection with the given {key}<\/strong>.
\nThe {key}<\/strong> must be the key of an existing field collection definition.\n","operationId":"class_field_collection_get_usages","parameters":[{"name":"key","in":"path","description":"Field collection unique key","required":true,"schema":{"type":"string","example":"MyFieldCollection"}}],"responses":{"200":{"description":"Field collection usage data","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/FieldCollectionUsageData"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/definition\/fields-by-type":{"get":{"tags":["Class Definition"],"summary":"Get class definition fields by type","description":"Get class definition fields filtered by one or more field types.
\nThe {classId}<\/strong> must be an ID of an existing data object class.
\nThe {type}<\/strong> must be a comma-separated list of field types, e.g. manyToOneRelation,objectbricks<\/strong>.\n","operationId":"class_get_fields_by_type","parameters":[{"name":"classId","in":"query","description":"The class ID to retrieve fields for.","required":true,"schema":{"type":"string","example":"EV"}},{"name":"type","in":"query","description":"Comma-separated list of field types to filter by.","required":true,"schema":{"type":"string","example":"manyToOneRelation,objectbricks"}}],"responses":{"200":{"description":"Successfully retrieved class definition fields for the requested types","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/FieldByType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/folder\/{folderId}":{"get":{"tags":["Class Definition"],"summary":"Get list of all data object classes in a folder","description":"Get list of all data object classes in a folder","operationId":"class_definition_folder_collection","parameters":[{"name":"folderId","in":"path","description":"FolderId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of all data object classes in a folder","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ClassDefinitionFolderItem"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/definition\/{dataObjectClass}":{"get":{"tags":["Class Definition"],"summary":"Get class definition for data object class","description":"Get class definition for the given data object class","operationId":"class_definition_get","parameters":[{"name":"dataObjectClass","in":"path","description":"Data object class","required":true,"schema":{"type":"string","example":"CAR"}}],"responses":{"200":{"description":"Class definition","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClassDefinition"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/object-brick\/classes":{"get":{"tags":["Class Definition"],"summary":"Get class definitions with ObjectBricks fields","description":"Get a collection of class definitions that have at least one ObjectBricks field definition.\n","operationId":"class_object_brick_classes","responses":{"200":{"description":"Collection of class definitions with ObjectBricks fields","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ClassDefinitionList"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/object-brick\/collection":{"get":{"tags":["Class Definition"],"summary":"Get all object brick definitions","description":"Get a collection of all available object brick definitions.\n","operationId":"class_object_brick_collection","responses":{"200":{"description":"Collection of object brick definitions","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/ObjectBrickConfig"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request
401 - Unauthorized
405 - Method Not Allowed
415 - Unsupported Media Type
422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/object-brick":{"post":{"tags":["Class Definition"],"summary":"Create a new object brick definition","description":"Create a new object brick definition with the provided {key}<\/strong>.
\nThe {key}<\/strong> must be unique and not already exist.\n","operationId":"class_object_brick_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateObjectBrick"}}}},"responses":{"200":{"description":"Created object brick definition detail","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ObjectBrickDetail"}}}},"default":{"description":"400 - Bad Request