Structured response bodyBody structurat al răspunsului
Response headersHeaderele răspunsului
ETagCurrent strong decimal draft revision ETag returned for a subsequent If-Match precondition.ETagul puternic al reviziei zecimale curente, returnat pentru o precondiție If-Match ulterioară.application/json
Structured response bodyBody structurat al răspunsului
Complete response schemaSchema completă a răspunsului
{
"$ref": "#/components/schemas/CanonicalTemplateDraft",
"type": "object",
"additionalProperties": false,
"required": [
"template_id",
"slug",
"revision",
"original_filename",
"media_type",
"byte_size",
"content_hash",
"bindings",
"updated_by",
"verified_at"
],
"properties": {
"template_id": {
"type": "string",
"format": "uuid"
},
"slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"revision": {
"type": "integer",
"minimum": 1
},
"original_filename": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"media_type": {
"type": "string",
"const": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
},
"byte_size": {
"type": "integer",
"minimum": 1,
"maximum": 10485760
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"bindings": {
"type": "array",
"maxItems": 256,
"items": {
"type": "string",
"maxLength": 256
}
},
"updated_by": {
"type": "string",
"format": "uuid"
},
"verified_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
}
}
}{
"template_id": "11111111-1111-4111-8111-000000000001",
"slug": "synthetic-example",
"revision": 1,
"original_filename": "synthetic-template.docx",
"media_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"byte_size": 1,
"content_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"bindings": [
"synthetic-example"
],
"updated_by": "11111111-1111-4111-8111-000000000001",
"verified_at": "2026-08-01T10:00:00Z"
}