v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01234055.7 KB
Entities Templates Management

Create a new template

Create a new template in the system with the provided information

post/api/v1/entity-templates

Request body

identifierstring required

Unique Entity Template identifier

namestring required

Unique Entity Template name

descriptionstring

Entity Template description

Example request

{
  "identifier": "service",
  "name": "Service",
  "description": "A comprehensive service template",
  "properties_definitions": [
    {
      "name": "applicationName",
      "description": "Name of the application",
      "type": "STRING",
      "required": true,
      "rules": {
        "format": "EMAIL",
        "enum_values": [
          "ACTIVE",
          "INACTIVE"
        ],
        "regex": "^[a-zA-Z0-9]+$",
        "max_length": 255,
        "min_length": 1,
        "max_value": 100
      }
    }
  ],
  "relations_definitions": [
    {
      "name": "dependencies",
      "target_template_identifier": "service",
      "to_many": true
    }
  ]
}

Response

Template created successfully