post https://{hostname}/entityType.create
Creates an entity type that includes the specified set of attributes.
Recipes
Create an entity type
Open Recipe
Response
Creates an entity type that includes the specified set of attributes.
xxxxxxxxxx
curl --request POST \
--url https://hostname/entityType.create \
# Add Authorization header to this snippet
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded'
xxxxxxxxxx
40}
{
"schema": {
"attr_defs": [
{
"name": "id",
"description": "simple identifier for this entity",
"type": "id"
},
{
"name": "uuid",
"description": "globally unique identifier for this entity",
"type": "uuid"
},
{
"name": "created",
"description": "when this entity was created",
"type": "dateTime"
},
{
"name": "lastUpdated",
"description": "when this entity was last updated",
"type": "dateTime"
},
{
"length": 1000,