Properties
NAME | TYPE | DESCRIPTION |
total | integer | Total number of attributes in the given collection. |
attributes | array | List of attributes. Can be one of: AttributeBoolean model, AttributeInteger model, AttributeFloat model, AttributeEmail model, AttributeEnum model, AttributeURL model, AttributeIP model, AttributeDatetime model, AttributeRelationship model, AttributeString model |
Example
JSON
{
"total": 5,
"attributes": [
{
"key": "isEnabled",
"type": "boolean",
"status": "available",
"error": "string",
"required": true,
"array": false,
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00",
"default": false
}
]
}
JSON
{
"total": 5,
"attributes": [
{
"key": "isEnabled",
"type": "boolean",
"status": "available",
"error": "string",
"required": true,
"array": false,
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00",
"default": false
}
]
}