Properties

Creating new property with default values

Creating the property with default values. <br>

<ul> <li>Name: New Property</li> <li>Key: new_key</li> <li>Type: Text</li> <li>Element Type: Document (Ctype)</li> </ul>
post/pimcore-studio/api/property

Request

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

Response

Created predefined property with default values

additionalAttributesobject

AdditionalAttributes

idstring required

id

namestring required

name

descriptionstring nullable

description

keystring required

key

typestring required

type

datastring nullable

data

configstring nullable

config

ctypestring required

ctype

inheritableboolean required

inheritable

creationDateinteger required

Creation date

modificationDateinteger required

Modification date

Example response

{
  "id": "alpha-numerical-value",
  "name": "Mister Proper",
  "description": "Detailed description of the property",
  "key": "Key for referencing",
  "type": "text",
  "data": "test",
  "config": "comma,separated,values",
  "ctype": "document",
  "creationDate": 221846400,
  "modificationDate": 327417600
}

Changes

No recorded changes to this operation across all 2 revisions of this API.