Structured response bodyBody structurat al răspunsului
application/json
Structured response bodyBody structurat al răspunsului
Complete response schemaSchema completă a răspunsului
{
"$ref": "#/components/schemas/TemplateList",
"type": "object",
"additionalProperties": false,
"required": [
"templates"
],
"properties": {
"templates": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/TemplateSummary",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"slug",
"name",
"description",
"draft_revision",
"latest_version_number",
"latest_content_hash",
"updated_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"draft_revision": {
"type": "integer",
"minimum": 0
},
"latest_version_number": {
"type": "integer",
"minimum": 0
},
"latest_content_hash": {
"oneOf": [
{
"type": "string",
"const": ""
},
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 256
}
}
}{
"templates": [
{
"id": "11111111-1111-4111-8111-000000000001",
"slug": "synthetic-example",
"name": "synthetic-example",
"description": "synthetic-example",
"draft_revision": 0,
"latest_version_number": 0,
"latest_content_hash": "",
"updated_at": "2026-08-01T10:00:00Z"
}
]
}