application/json
Structured response bodyBody structurat al răspunsului
Complete request schemaSchema completă a cererii
{
"$ref": "#/components/schemas/EmptyObject",
"type": "object",
"additionalProperties": false,
"maxProperties": 0
}{}
DevelopersDezvoltatori/api/v1/templates/{templateId}/validateValidate the verified template draft without canonical writes. Validates the documented inputs and creates or triggers the canonical outcome. Required inputs: templateId, Origin, X-CSRF-Token, Idempotency-Key, request body. HTTP success: 200; documented failures: 401, 403, 404, 405, 415, 422, 500, 503. Reuse the request key only for an exact replay; changed canonical content conflicts.Validează ciorna verificată a șablonului fără scrieri canonice. Validează intrările documentate și creează sau declanșează rezultatul canonic. Intrări obligatorii: templateId, Origin, X-CSRF-Token, Idempotency-Key, request body. Succes HTTP: 200; erori documentate: 401, 403, 404, 405, 415, 422, 500, 503. Refolosește cheia cererii numai pentru o reluare identică; un conținut canonic diferit produce conflict.
Content-TypeRequired request headerHeader obligatoriu al cereriiIdempotency-KeyRequired request headerHeader obligatoriu al cereriiOriginRequired request headerHeader obligatoriu al cereriiX-CSRF-TokenRequired request headerHeader obligatoriu al cereriitemplateIdpath · requiredobligatoriu11111111-1111-4111-8111-000000000001{
"type": "string",
"format": "uuid"
}Originheader · requiredobligatoriuhttp://127.0.0.1:18081{
"type": "string",
"format": "uri"
}X-CSRF-Tokenheader · requiredobligatoriusynthetic-csrf-token{
"type": "string",
"minLength": 1
}Idempotency-Keyheader · requiredobligatoriudocs-example-0001{
"type": "string",
"minLength": 8,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$"
}{"name":"Idempotency-Key","maximum":null,"max_length":128}curl --request POST "$DOCULA_URL/api/v1/templates/$TEMPLATE_ID/validate" \
--cookie "$COOKIE_JAR" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: $IDEMPOTENCY_KEY" \
--header "Origin: $DOCULA_URL" \
--header "X-CSRF-Token: $CSRF_TOKEN" \
--data-binary @request.jsonRequest body: requiredBody cerere: obligatoriu
Structured response bodyBody structurat al răspunsului
{
"$ref": "#/components/schemas/EmptyObject",
"type": "object",
"additionalProperties": false,
"maxProperties": 0
}{}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"$ref": "#/components/schemas/CanonicalTemplateValidationResult",
"type": "object",
"additionalProperties": false,
"required": [
"valid",
"errors",
"correlation_id"
],
"properties": {
"valid": {
"type": "boolean"
},
"result": {
"type": "object",
"additionalProperties": false,
"required": [
"template_id",
"draft_revision",
"content_hash",
"byte_size",
"media_type",
"bindings"
],
"properties": {
"template_id": {
"type": "string",
"format": "uuid"
},
"draft_revision": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"byte_size": {
"type": "integer",
"minimum": 1,
"maximum": 10485760
},
"media_type": {
"type": "string",
"const": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
},
"bindings": {
"type": "array",
"maxItems": 256,
"items": {
"type": "string"
}
}
}
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
},
"correlation_id": {
"type": "string",
"minLength": 1
}
}
}{
"valid": false,
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
],
"correlation_id": "11111111-1111-4111-8111-000000000001"
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 401
},
"code": {
"const": "authentication_required"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 401,
"code": "authentication_required",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 403
},
"code": {
"enum": [
"csrf_rejected",
"forbidden"
]
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 403,
"code": "csrf_rejected",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 404
},
"code": {
"const": "not_found"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 404,
"code": "not_found",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Structured response bodyBody structurat al răspunsului
AllowThe exact method or method set supported by this path.Metoda sau setul exact de metode acceptate de această cale.Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 405
},
"code": {
"const": "method_not_allowed"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 405,
"code": "method_not_allowed",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 415
},
"code": {
"const": "unsupported_media_type"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 415,
"code": "unsupported_media_type",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 422
},
"code": {
"const": "validation_failed"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 422,
"code": "validation_failed",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 500
},
"code": {
"const": "internal_error"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 500,
"code": "internal_error",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ConfigurationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id",
"errors"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"minimum": 400,
"maximum": 599
},
"code": {
"type": "string",
"enum": [
"internal_error",
"dependency_unavailable",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"validation_failed",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"errors": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/ConfigurationIssue",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"stage",
"resource_kind",
"message",
"correlation_id"
],
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"stage": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_kind": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"resource_id": {
"type": "string",
"maxLength": 128
},
"path": {
"type": "string",
"maxLength": 512
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"dependency": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z][a-z0-9_.:-]{0,63}$"
},
"context": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 256
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
}
}
}
}
},
{
"properties": {
"status": {
"const": 503
},
"code": {
"const": "dependency_unavailable"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 503,
"code": "dependency_unavailable",
"detail": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"errors": [
{
"code": "synthetic-example",
"stage": "synthetic-example",
"resource_kind": "synthetic-example",
"message": "synthetic-example",
"correlation_id": "11111111-1111-4111-8111-000000000001"
}
]
}Template workflows are API-only; see the operational tasks guide.Operația rămâne intenționat disponibilă doar prin API.