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/intake-test-lab/runs/{scenarioId}Submit one canonical synthetic scenario through the shared release. Validates the documented inputs and creates or triggers the canonical outcome. Required inputs: scenarioId, Origin, X-CSRF-Token, Idempotency-Key, request body. HTTP success: 200, 202; documented failures: 401, 403, 405, 409, 415, 422, 500, 503. Reuse the request key only for an exact replay; changed canonical content conflicts.Trimite un scenariu sintetic canonic prin versiunea comună. Validează intrările documentate și creează sau declanșează rezultatul canonic. Intrări obligatorii: scenarioId, Origin, X-CSRF-Token, Idempotency-Key, request body. Succes HTTP: 200, 202; erori documentate: 401, 403, 405, 409, 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 cereriiscenarioIdpath · requiredobligatoriumonthly{
"type": "string",
"enum": [
"monthly",
"semiannual",
"annual",
"invalid"
]
}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/intake-test-lab/runs/$SCENARIO_ID" \
--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
Idempotent-ReplayTrue when the response replays an earlier exact actor-scoped request without new work.True când răspunsul reia o cerere exactă anterioară, limitată la actor, fără procesare nouă.LocationCanonical resource path for the created or replayed result.Calea canonică a resursei pentru rezultatul creat sau reluat.Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ExecutionMutation",
"type": "object",
"additionalProperties": false,
"required": [
"execution",
"correlation_id",
"idempotent_replay"
],
"properties": {
"execution": {
"$ref": "#/components/schemas/Execution",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"release_id",
"release_hash",
"processing_kind",
"input_hash",
"raw_input_hash",
"status",
"submitted_by",
"correlation_id",
"created_at",
"updated_at",
"steps",
"artifacts"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"release_id": {
"type": "string",
"format": "uuid"
},
"release_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"processing_kind": {
"type": "string",
"enum": [
"transformation",
"document_generation"
]
},
"submission_id": {
"type": "string",
"format": "uuid"
},
"processing_node_id": {
"type": "string",
"format": "uuid"
},
"input": {
"x-docula-max-bytes": 524288
},
"input_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"raw_input": {
"type": "string",
"minLength": 1,
"x-docula-max-bytes": 524288
},
"raw_input_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"metadata": {
"$ref": "#/components/schemas/IntakeMetadata",
"type": "object",
"additionalProperties": false,
"required": [
"schema",
"source_object",
"source_timestamp",
"source_actor",
"source_system",
"fixture_family",
"scenario_id",
"schedule_interval_months"
],
"properties": {
"schema": {
"type": "string",
"const": "docula-intake-metadata-v1"
},
"source_object": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
},
"source_timestamp": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"source_actor": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+-]{0,127}$"
},
"source_system": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
},
"fixture_family": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
},
"scenario_id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
},
"schedule_interval_months": {
"type": "integer",
"enum": [
1,
6,
12
]
}
}
},
"output": {
"x-docula-max-bytes": 524288
},
"output_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"status": {
"type": "string",
"enum": [
"queued",
"processing",
"awaiting_compose",
"completed",
"failed"
]
},
"submitted_by": {
"type": "string",
"format": "uuid"
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"completed_at": {
"type": "string",
"format": "date-time"
},
"steps": {
"type": "array",
"minItems": 2,
"maxItems": 4,
"items": {
"$ref": "#/components/schemas/ExecutionStep",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"position",
"status",
"attempt",
"state_version"
],
"properties": {
"name": {
"type": "string",
"enum": [
"validate",
"transform.declarative",
"compose",
"render"
]
},
"position": {
"type": "integer",
"minimum": 1,
"maximum": 4
},
"status": {
"type": "string",
"enum": [
"not_started",
"queued",
"running",
"succeeded",
"failed"
]
},
"attempt": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"state_version": {
"type": "integer",
"minimum": 1
},
"started_at": {
"type": "string",
"format": "date-time"
},
"finished_at": {
"type": "string",
"format": "date-time"
},
"duration_ms": {
"type": "integer",
"minimum": 0
},
"summary": {
"type": "object"
},
"failure": {
"$ref": "#/components/schemas/ExecutionFailure",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"message",
"issues"
],
"properties": {
"code": {
"type": "string",
"pattern": "^[a-z][a-z0-9_.-]{0,63}$"
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 240
},
"issues": {
"type": "array",
"maxItems": 20,
"items": {
"$ref": "#/components/schemas/ExecutionIssue",
"type": "object",
"additionalProperties": false,
"required": [
"path",
"message"
],
"properties": {
"path": {
"type": "string",
"maxLength": 512
},
"keyword": {
"type": "string",
"maxLength": 64
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 240
}
}
}
}
}
}
}
}
},
"artifacts": {
"type": "array",
"maxItems": 2,
"items": {
"$ref": "#/components/schemas/ExecutionArtifact",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"kind",
"media_type",
"byte_size",
"content_hash",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"docx",
"pdf"
]
},
"media_type": {
"type": "string",
"enum": [
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/pdf"
]
},
"byte_size": {
"type": "integer",
"minimum": 1,
"maximum": 26214400
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}
}
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"idempotent_replay": {
"type": "boolean"
}
}
},
{
"type": "object",
"properties": {
"idempotent_replay": {
"const": true
}
}
}
]
}{
"execution": {
"id": "11111111-1111-4111-8111-000000000001",
"release_id": "11111111-1111-4111-8111-000000000001",
"release_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"processing_kind": "transformation",
"input_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"raw_input_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"status": "queued",
"submitted_by": "11111111-1111-4111-8111-000000000001",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"created_at": "2026-08-01T10:00:00Z",
"updated_at": "2026-08-01T10:00:00Z",
"steps": [
{
"name": "validate",
"position": 1,
"status": "not_started",
"attempt": 0,
"state_version": 1
},
{
"name": "transform.declarative",
"position": 2,
"status": "queued",
"attempt": 1,
"state_version": 2
}
],
"artifacts": []
},
"correlation_id": "11111111-1111-4111-8111-000000000001",
"idempotent_replay": true
}Structured response bodyBody structurat al răspunsului
LocationCanonical resource path for the created or replayed result.Calea canonică a resursei pentru rezultatul creat sau reluat.Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/ExecutionMutation",
"type": "object",
"additionalProperties": false,
"required": [
"execution",
"correlation_id",
"idempotent_replay"
],
"properties": {
"execution": {
"$ref": "#/components/schemas/Execution",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"release_id",
"release_hash",
"processing_kind",
"input_hash",
"raw_input_hash",
"status",
"submitted_by",
"correlation_id",
"created_at",
"updated_at",
"steps",
"artifacts"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"release_id": {
"type": "string",
"format": "uuid"
},
"release_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"processing_kind": {
"type": "string",
"enum": [
"transformation",
"document_generation"
]
},
"submission_id": {
"type": "string",
"format": "uuid"
},
"processing_node_id": {
"type": "string",
"format": "uuid"
},
"input": {
"x-docula-max-bytes": 524288
},
"input_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"raw_input": {
"type": "string",
"minLength": 1,
"x-docula-max-bytes": 524288
},
"raw_input_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"metadata": {
"$ref": "#/components/schemas/IntakeMetadata",
"type": "object",
"additionalProperties": false,
"required": [
"schema",
"source_object",
"source_timestamp",
"source_actor",
"source_system",
"fixture_family",
"scenario_id",
"schedule_interval_months"
],
"properties": {
"schema": {
"type": "string",
"const": "docula-intake-metadata-v1"
},
"source_object": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
},
"source_timestamp": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"source_actor": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@+-]{0,127}$"
},
"source_system": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
},
"fixture_family": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
},
"scenario_id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
},
"schedule_interval_months": {
"type": "integer",
"enum": [
1,
6,
12
]
}
}
},
"output": {
"x-docula-max-bytes": 524288
},
"output_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"status": {
"type": "string",
"enum": [
"queued",
"processing",
"awaiting_compose",
"completed",
"failed"
]
},
"submitted_by": {
"type": "string",
"format": "uuid"
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"completed_at": {
"type": "string",
"format": "date-time"
},
"steps": {
"type": "array",
"minItems": 2,
"maxItems": 4,
"items": {
"$ref": "#/components/schemas/ExecutionStep",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"position",
"status",
"attempt",
"state_version"
],
"properties": {
"name": {
"type": "string",
"enum": [
"validate",
"transform.declarative",
"compose",
"render"
]
},
"position": {
"type": "integer",
"minimum": 1,
"maximum": 4
},
"status": {
"type": "string",
"enum": [
"not_started",
"queued",
"running",
"succeeded",
"failed"
]
},
"attempt": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"state_version": {
"type": "integer",
"minimum": 1
},
"started_at": {
"type": "string",
"format": "date-time"
},
"finished_at": {
"type": "string",
"format": "date-time"
},
"duration_ms": {
"type": "integer",
"minimum": 0
},
"summary": {
"type": "object"
},
"failure": {
"$ref": "#/components/schemas/ExecutionFailure",
"type": "object",
"additionalProperties": false,
"required": [
"code",
"message",
"issues"
],
"properties": {
"code": {
"type": "string",
"pattern": "^[a-z][a-z0-9_.-]{0,63}$"
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 240
},
"issues": {
"type": "array",
"maxItems": 20,
"items": {
"$ref": "#/components/schemas/ExecutionIssue",
"type": "object",
"additionalProperties": false,
"required": [
"path",
"message"
],
"properties": {
"path": {
"type": "string",
"maxLength": 512
},
"keyword": {
"type": "string",
"maxLength": 64
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 240
}
}
}
}
}
}
}
}
},
"artifacts": {
"type": "array",
"maxItems": 2,
"items": {
"$ref": "#/components/schemas/ExecutionArtifact",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"kind",
"media_type",
"byte_size",
"content_hash",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"docx",
"pdf"
]
},
"media_type": {
"type": "string",
"enum": [
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/pdf"
]
},
"byte_size": {
"type": "integer",
"minimum": 1,
"maximum": 26214400
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}
}
}
},
"correlation_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"idempotent_replay": {
"type": "boolean"
}
}
},
{
"type": "object",
"properties": {
"idempotent_replay": {
"const": false
}
}
}
]
}{
"execution": {
"id": "11111111-1111-4111-8111-000000000001",
"release_id": "11111111-1111-4111-8111-000000000001",
"release_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"processing_kind": "transformation",
"input_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"raw_input_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"status": "queued",
"submitted_by": "11111111-1111-4111-8111-000000000001",
"correlation_id": "11111111-1111-4111-8111-000000000001",
"created_at": "2026-08-01T10:00:00Z",
"updated_at": "2026-08-01T10:00:00Z",
"steps": [
{
"name": "validate",
"position": 1,
"status": "not_started",
"attempt": 0,
"state_version": 1
},
{
"name": "transform.declarative",
"position": 2,
"status": "queued",
"attempt": 1,
"state_version": 2
}
],
"artifacts": []
},
"correlation_id": "11111111-1111-4111-8111-000000000001",
"idempotent_replay": false
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/Problem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"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",
"invalid_credentials",
"origin_rejected",
"validation_failed",
"rate_limited",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"content_unavailable",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"dependencies": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/components/schemas/PublicDependency",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string",
"enum": [
"postgresql",
"nats",
"s3",
"outbox"
]
},
"status": {
"type": "string",
"enum": [
"ready",
"unavailable"
]
}
}
}
}
}
},
{
"type": "object",
"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"
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"$ref": "#/components/schemas/MutationProblem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"properties": {
"type": {
"type": "string",
"pattern": "^/problems/[a-z_]+$"
},
"title": {
"type": "string",
"minLength": 1
},
"status": {
"type": "integer",
"const": 403
},
"code": {
"type": "string",
"enum": [
"csrf_rejected",
"forbidden"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
}
}
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 403,
"code": "csrf_rejected",
"detail": "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/Problem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"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",
"invalid_credentials",
"origin_rejected",
"validation_failed",
"rate_limited",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"content_unavailable",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"dependencies": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/components/schemas/PublicDependency",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string",
"enum": [
"postgresql",
"nats",
"s3",
"outbox"
]
},
"status": {
"type": "string",
"enum": [
"ready",
"unavailable"
]
}
}
}
}
}
},
{
"type": "object",
"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"
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/Problem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"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",
"invalid_credentials",
"origin_rejected",
"validation_failed",
"rate_limited",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"content_unavailable",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"dependencies": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/components/schemas/PublicDependency",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string",
"enum": [
"postgresql",
"nats",
"s3",
"outbox"
]
},
"status": {
"type": "string",
"enum": [
"ready",
"unavailable"
]
}
}
}
}
}
},
{
"type": "object",
"properties": {
"status": {
"const": 409
},
"code": {
"const": "conflict"
}
}
}
]
}{
"type": "/problems/synthetic_example",
"title": "synthetic-example",
"status": 409,
"code": "conflict",
"detail": "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/Problem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"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",
"invalid_credentials",
"origin_rejected",
"validation_failed",
"rate_limited",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"content_unavailable",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"dependencies": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/components/schemas/PublicDependency",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string",
"enum": [
"postgresql",
"nats",
"s3",
"outbox"
]
},
"status": {
"type": "string",
"enum": [
"ready",
"unavailable"
]
}
}
}
}
}
},
{
"type": "object",
"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"
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/Problem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"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",
"invalid_credentials",
"origin_rejected",
"validation_failed",
"rate_limited",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"content_unavailable",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"dependencies": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/components/schemas/PublicDependency",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string",
"enum": [
"postgresql",
"nats",
"s3",
"outbox"
]
},
"status": {
"type": "string",
"enum": [
"ready",
"unavailable"
]
}
}
}
}
}
},
{
"type": "object",
"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"
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/Problem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"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",
"invalid_credentials",
"origin_rejected",
"validation_failed",
"rate_limited",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"content_unavailable",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"dependencies": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/components/schemas/PublicDependency",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string",
"enum": [
"postgresql",
"nats",
"s3",
"outbox"
]
},
"status": {
"type": "string",
"enum": [
"ready",
"unavailable"
]
}
}
}
}
}
},
{
"type": "object",
"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"
}Structured response bodyBody structurat al răspunsului
Structured response bodyBody structurat al răspunsului
{
"allOf": [
{
"$ref": "#/components/schemas/Problem",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"title",
"status",
"code",
"detail",
"correlation_id"
],
"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",
"invalid_credentials",
"origin_rejected",
"validation_failed",
"rate_limited",
"authentication_required",
"csrf_rejected",
"forbidden",
"conflict",
"not_found",
"method_not_allowed",
"unsupported_media_type",
"content_unavailable",
"precondition_required",
"precondition_failed"
]
},
"detail": {
"type": "string",
"minLength": 1
},
"correlation_id": {
"type": "string",
"minLength": 1
},
"dependencies": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/components/schemas/PublicDependency",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string",
"enum": [
"postgresql",
"nats",
"s3",
"outbox"
]
},
"status": {
"type": "string",
"enum": [
"ready",
"unavailable"
]
}
}
}
}
}
},
{
"type": "object",
"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"
}The intake-test lab is API-only; the React /app/demo journey covers the demonstration.Operația rămâne intenționat disponibilă doar prin API.
This operation is not part of the finite Story 5.3 course.Această operație nu face parte din cursul finit Story 5.3.