Complete response schemaSchema completă a răspunsului
{
"$ref": "#/components/schemas/ConfigurationMutationResult",
"type": "object",
"additionalProperties": false,
"required": [
"resource_kind",
"resource_id",
"result",
"response_hash",
"idempotent_replay",
"correlation_id"
],
"properties": {
"resource_kind": {
"type": "string",
"enum": [
"activation",
"ingestion_model",
"transformer",
"template"
]
},
"resource_id": {
"type": "string",
"format": "uuid"
},
"result": {
"oneOf": [
{
"$ref": "#/components/schemas/ConfigurationPublicationOutcome",
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"family_id",
"family_slug",
"version_id",
"version",
"content_hash",
"activation_id",
"effective_from",
"scheduled_at"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"ingestion_model",
"transformer",
"template"
]
},
"family_id": {
"type": "string",
"format": "uuid"
},
"family_slug": {
"type": "string"
},
"version_id": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"activation_id": {
"type": "string",
"format": "uuid"
},
"effective_from": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"scheduled_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
}
}
},
{
"$ref": "#/components/schemas/ConfigurationCancellationOutcome",
"type": "object",
"additionalProperties": false,
"required": [
"activation_id",
"kind",
"family_id",
"version_id",
"effective_from",
"cancelled_at",
"cancellation_code"
],
"properties": {
"activation_id": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"ingestion_model",
"transformer",
"template"
]
},
"family_id": {
"type": "string",
"format": "uuid"
},
"version_id": {
"type": "string",
"format": "uuid"
},
"effective_from": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"cancelled_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"cancellation_code": {
"type": "string",
"pattern": "^[a-z0-9]+(?:_[a-z0-9]+)*$"
}
}
},
{
"$ref": "#/components/schemas/ConfigurationDefinitionFamilyOutcome",
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"id",
"slug",
"name",
"description",
"draft_revision",
"created_at",
"updated_at"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"ingestion_model",
"transformer",
"template"
]
},
"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
},
"created_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"updated_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
}
}
},
{
"$ref": "#/components/schemas/ConfigurationDefinitionVersionOutcome",
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"id",
"family_id",
"number",
"content_hash",
"source_revision",
"status",
"created_at",
"reused"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"ingestion_model",
"transformer",
"template"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"family_id": {
"type": "string",
"format": "uuid"
},
"number": {
"type": "integer",
"minimum": 1
},
"content_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"source_revision": {
"type": "integer",
"minimum": 1
},
"status": {
"type": "string",
"enum": [
"versioned",
"published"
]
},
"created_at": {
"$ref": "#/components/schemas/CanonicalTimestamp",
"type": "string",
"format": "date-time",
"description": "UTC timestamp serialized with RFC3339Nano precision."
},
"reused": {
"type": "boolean"
}
}
}
]
},
"response_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"idempotent_replay": {
"type": "boolean"
},
"correlation_id": {
"type": "string",
"minLength": 1
}
}
}