Skip to main content

Schema registry

Generated from apiome-rest/openapi.yaml (API version 1.307.0) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: schema-registry · 32 operations

POST /registry/schema/{tenant}/compatibility/subjects/{subject}/versions​

Confluent Compatibility All

Test a schema against the versions the level selects (Confluent …/compatibility/subjects/{s}/versions).

Operation id: confluent_compatibility_all_registry_schema__tenant__compatibility_subjects__subject__versions_post

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent compatibility all.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent compatibility all.application/json any
422Validation Errorapplication/json HTTPValidationError

POST /registry/schema/{tenant}/compatibility/subjects/{subject}/versions/{version}​

Confluent Compatibility Version

Test a schema against one version (Confluent POST /compatibility/subjects/{s}/versions/{v}).

Operation id: confluent_compatibility_version_registry_schema__tenant__compatibility_subjects__subject__versions__version__post

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
versionpathstringyesEndpoint or API version metadata.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent compatibility version.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent compatibility version.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/config​

Confluent Get Config

Return the tenant's default compatibility level (Confluent GET /config).

Operation id: confluent_get_config_registry_schema__tenant__config_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent get config.application/json any
422Validation Errorapplication/json HTTPValidationError

PUT /registry/schema/{tenant}/config​

Confluent Put Config

Set the tenant's default compatibility level (Confluent PUT /config).

Operation id: confluent_put_config_registry_schema__tenant__config_put

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent put config.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent put config.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/config/{subject}​

Confluent Get Subject Config

Return a subject's compatibility level (Confluent GET /config/{s}).

Operation id: confluent_get_subject_config_registry_schema__tenant__config__subject__get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
defaultToGlobalquerybooleannoFall back to the tenant default.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent get subject config.application/json any
422Validation Errorapplication/json HTTPValidationError

PUT /registry/schema/{tenant}/config/{subject}​

Confluent Put Subject Config

Set a subject's compatibility level, creating the subject if needed (Confluent PUT /config/{s}).

Operation id: confluent_put_subject_config_registry_schema__tenant__config__subject__put

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent put subject config.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent put subject config.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/mode​

Confluent Get Mode

Return the tenant's default mode (Confluent GET /mode).

Operation id: confluent_get_mode_registry_schema__tenant__mode_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent get mode.application/json any
422Validation Errorapplication/json HTTPValidationError

PUT /registry/schema/{tenant}/mode​

Confluent Put Mode

Set the tenant's default mode, READWRITE or READONLY (Confluent PUT /mode).

Operation id: confluent_put_mode_registry_schema__tenant__mode_put

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent put mode.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent put mode.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/mode/{subject}​

Confluent Get Subject Mode

Return a subject's mode (Confluent GET /mode/{s}).

Operation id: confluent_get_subject_mode_registry_schema__tenant__mode__subject__get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent get subject mode.application/json any
422Validation Errorapplication/json HTTPValidationError

PUT /registry/schema/{tenant}/mode/{subject}​

Confluent Put Subject Mode

Set a subject's mode, creating the subject if needed (Confluent PUT /mode/{s}).

Operation id: confluent_put_subject_mode_registry_schema__tenant__mode__subject__put

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent put subject mode.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent put subject mode.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/schemas/ids/{schema_id}​

Confluent Schema By Id

Return a schema by id — it resolves after its subjects are deleted (Confluent /schemas/ids/{id}).

Operation id: confluent_schema_by_id_registry_schema__tenant__schemas_ids__schema_id__get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
schema_idpathintegeryesPath parameter identifying the schema id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent schema by id.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/schemas/ids/{schema_id}/subjects​

Confluent Schema Subjects

List the live subjects holding a schema id (Confluent /schemas/ids/{id}/subjects).

Operation id: confluent_schema_subjects_registry_schema__tenant__schemas_ids__schema_id__subjects_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
schema_idpathintegeryesPath parameter identifying the schema id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent schema subjects.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/schemas/ids/{schema_id}/versions​

Confluent Schema Versions

List the live subject versions holding a schema id (Confluent /schemas/ids/{id}/versions).

Operation id: confluent_schema_versions_registry_schema__tenant__schemas_ids__schema_id__versions_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
schema_idpathintegeryesPath parameter identifying the schema id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent schema versions.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/schemas/types​

Confluent Schema Types

List the schema types this registry accepts (Confluent GET /schemas/types).

Only types this deployment can read are listed (Protobuf needs the bundled buf). With details=true each is labelled: compatibilityRules is available or unavailable (XPC-4.x) and registrableUnder names the levels a new version can be registered under.

Operation id: confluent_schema_types_registry_schema__tenant__schemas_types_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
detailsquerybooleannoLabel each type with what it can be registered under.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent schema types.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/subjects​

Confluent List Subjects

List subject names (Confluent GET /subjects).

Operation id: confluent_list_subjects_registry_schema__tenant__subjects_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
deletedquerybooleannoInclude soft-deleted subjects.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent list subjects.application/json any
422Validation Errorapplication/json HTTPValidationError

POST /registry/schema/{tenant}/subjects/{subject}​

Confluent Lookup

Find the version of a subject that holds a schema (Confluent POST /subjects/{s}).

Operation id: confluent_lookup_registry_schema__tenant__subjects__subject__post

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent lookup.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent lookup.application/json any
422Validation Errorapplication/json HTTPValidationError

DELETE /registry/schema/{tenant}/subjects/{subject}​

Confluent Delete Subject

Delete a subject (Confluent DELETE /subjects/{s}); returns the deleted versions.

A soft delete (imports:edit) hides the subject and its versions; ids keep resolving. ?permanent=true (imports:delete) removes a soft-deleted subject's rows; the catalog item revisions are never deleted.

Operation id: confluent_delete_subject_registry_schema__tenant__subjects__subject__delete

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
permanentquerybooleannoHard-delete a subject that was soft-deleted first.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent delete subject.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/subjects/{subject}/versions​

Confluent List Versions

List a subject's live version numbers (Confluent GET /subjects/{s}/versions).

Operation id: confluent_list_versions_registry_schema__tenant__subjects__subject__versions_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent list versions.application/json any
422Validation Errorapplication/json HTTPValidationError

POST /registry/schema/{tenant}/subjects/{subject}/versions​

Confluent Register

Register a schema under a subject and return its id (Confluent POST /subjects/{s}/versions).

Registering content the subject already holds returns the same id. A new version under a level other than NONE is refused with 42290 until XPC-4.x rules exist for the schema type.

Operation id: confluent_register_registry_schema__tenant__subjects__subject__versions_post

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for confluent register.

  • application/json — object

Responses

StatusDescriptionBody
200Successful response for confluent register.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/subjects/{subject}/versions/{version}​

Confluent Get Version

Return one version (latest and -1 work) (Confluent GET /subjects/{s}/versions/{v}).

Operation id: confluent_get_version_registry_schema__tenant__subjects__subject__versions__version__get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
versionpathstringyesEndpoint or API version metadata.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent get version.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /registry/schema/{tenant}/subjects/{subject}/versions/{version}/schema​

Confluent Get Version Schema

Return only the schema text of one version (Confluent …/versions/{v}/schema).

Operation id: confluent_get_version_schema_registry_schema__tenant__subjects__subject__versions__version__schema_get

Parameters

NameInTypeRequiredDescription
tenantpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
versionpathstringyesEndpoint or API version metadata.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for confluent get version schema.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /v1/tenants/{tenant_slug}/schema-registry/config​

Get Registry Config

Return the tenant's registry defaults (imports:view).

Operation id: get_registry_config_v1_tenants__tenant_slug__schema_registry_config_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get registry config.application/json RegistryConfig
422Validation Errorapplication/json HTTPValidationError

PUT /v1/tenants/{tenant_slug}/schema-registry/config​

Put Registry Config

Set the tenant's default compatibility level and/or mode (imports:edit).

Operation id: put_registry_config_v1_tenants__tenant_slug__schema_registry_config_put

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for put registry config.

Responses

StatusDescriptionBody
200Successful response for put registry config.application/json RegistryConfig
422Validation Errorapplication/json HTTPValidationError

GET /v1/tenants/{tenant_slug}/schema-registry/schemas/ids/{schema_id}​

Get Schema By Id

Resolve a schema id (imports:view) — it keeps resolving after its subjects are deleted.

Operation id: get_schema_by_id_v1_tenants__tenant_slug__schema_registry_schemas_ids__schema_id__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
schema_idpathintegeryesPath parameter identifying the schema id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get schema by id.application/json SchemaByIdOut
422Validation Errorapplication/json HTTPValidationError

GET /v1/tenants/{tenant_slug}/schema-registry/subjects​

List Schema Subjects

List the tenant's live subjects (imports:view); deleted subjects are left out.

Operation id: list_schema_subjects_v1_tenants__tenant_slug__schema_registry_subjects_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list schema subjects.application/json SubjectList
422Validation Errorapplication/json HTTPValidationError

GET /v1/tenants/{tenant_slug}/schema-registry/subjects/{subject}​

Get Schema Subject

Return one live subject (imports:view).

Operation id: get_schema_subject_v1_tenants__tenant_slug__schema_registry_subjects__subject__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get schema subject.application/json SubjectOut
422Validation Errorapplication/json HTTPValidationError

PUT /v1/tenants/{tenant_slug}/schema-registry/subjects/{subject}​

Put Schema Subject

Create a subject or change its strategy, compatibility level or mode (imports:edit).

Operation id: put_schema_subject_v1_tenants__tenant_slug__schema_registry_subjects__subject__put

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for put schema subject.

Responses

StatusDescriptionBody
200Successful response for put schema subject.application/json SubjectOut
422Validation Errorapplication/json HTTPValidationError

DELETE /v1/tenants/{tenant_slug}/schema-registry/subjects/{subject}​

Delete Schema Subject

Soft-delete a subject and its versions (imports:delete); returns the deleted versions.

The versions leave every list, but their schema ids keep resolving at /schemas/ids/{id} and the catalog item revisions are untouched.

Operation id: delete_schema_subject_v1_tenants__tenant_slug__schema_registry_subjects__subject__delete

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for delete schema subject.application/json array of integer
422Validation Errorapplication/json HTTPValidationError

POST /v1/tenants/{tenant_slug}/schema-registry/subjects/{subject}/attach​

Attach Catalog Item To Subject

Back an empty subject with an existing catalog item (imports:edit).

The item's latest revision becomes version 1; its earlier revisions stay as they are, and later registrations add revisions to the item.

Operation id: attach_catalog_item_to_subject_v1_tenants__tenant_slug__schema_registry_subjects__subject__attach_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for attach catalog item to subject.

Responses

StatusDescriptionBody
200Successful response for attach catalog item to subject.application/json RegisterResponse
422Validation Errorapplication/json HTTPValidationError

GET /v1/tenants/{tenant_slug}/schema-registry/subjects/{subject}/versions​

List Schema Subject Versions

List a subject's live versions, oldest first (imports:view).

Operation id: list_schema_subject_versions_v1_tenants__tenant_slug__schema_registry_subjects__subject__versions_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list schema subject versions.application/json SubjectVersionList
422Validation Errorapplication/json HTTPValidationError

POST /v1/tenants/{tenant_slug}/schema-registry/subjects/{subject}/versions​

Register Schema Version

Register a schema under a subject (imports:create).

The schema is read by the same import source a catalog upload uses. Registering content the subject already holds returns its version (created: false); content another subject holds reuses that schema id and revision; new content becomes a new revision of the subject's catalog item (created on the first registration).

Operation id: register_schema_version_v1_tenants__tenant_slug__schema_registry_subjects__subject__versions_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for register schema version.

Responses

StatusDescriptionBody
200Successful response for register schema version.application/json RegisterResponse
422Validation Errorapplication/json HTTPValidationError

GET /v1/tenants/{tenant_slug}/schema-registry/subjects/{subject}/versions/{version}​

Get Schema Subject Version

Return one version (a number or latest) with its schema text (imports:view).

Operation id: get_schema_subject_version_v1_tenants__tenant_slug__schema_registry_subjects__subject__versions__version__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
subjectpathstringyesPath parameter identifying the subject segment.
versionpathstringyesEndpoint or API version metadata.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get schema subject version.application/json SubjectVersionOut
422Validation Errorapplication/json HTTPValidationError

Schemas used​

AttachRequest​

An existing catalog item to back an empty subject.

PropertyTypeRequiredDescription
projectIdstringyesThe catalog item id (an Avro, JSON Schema or Protobuf item).
strategystring or nullnoNaming strategy for a subject this creates.

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

RegisterRequest​

A schema to register under a subject.

PropertyTypeRequiredDescription
schemastringyesThe schema text (Avro JSON, JSON Schema or .proto).
schemaTypestringnoAVRO (default), JSON or PROTOBUF.
referencesarray of anynoSchema references, stored as sent.
strategystring or nullnoNaming strategy for a subject this creates.

RegisterResponse​

The registered version; created is false when the subject already held this schema.

PropertyTypeRequiredDescription
subjectstringyesSubject.
versionintegeryesVersion.
idintegeryesThe schema id (shared by every subject holding the same schema).
schemaTypestringyesSchema Type.
fingerprintstringyesFingerprint.
referencesarray of anynoReferences.
projectIdstringyesThe catalog item holding the schema.
versionRecordIdstringyesThe catalog item revision holding the schema.
upstreamVersioninteger or nullnoThe upstream registry's version number of a mirrored version (MFI-12.3).
upstreamSchemaIdinteger or nullnoThe upstream registry's schema id of a mirrored version (MFI-12.3).
createdAtstring (date-time)yesCreated At.
schemastring or nullnoThe schema text (single-version reads only).
createdbooleanyesCreated.

RegistryConfig​

The tenant's registry defaults.

PropertyTypeRequiredDescription
compatibilityLevelstringyesDefault compatibility level for subjects that set none.
modestringyesREADWRITE or READONLY; READONLY refuses every new version.

RegistryConfigUpdate​

A change to the tenant's registry defaults; an omitted field is kept.

PropertyTypeRequiredDescription
compatibilityLevelstring or nullnoOne of the seven Confluent levels.
modestring or nullnoREADWRITE or READONLY.

SchemaByIdOut​

A schema resolved by id.

PropertyTypeRequiredDescription
idintegeryesStable resource identifier.
schemaTypestringyesSchema Type.
fingerprintstringyesFingerprint.
fingerprintKindstringyescanonical-model today; avro-pcf once MFI-12.1 ships.
referencesarray of anynoReferences.
projectIdstringyesProject ID.
versionRecordIdstringyesVersion Record ID.
schemastring or nullnoEmbedded JSON Schema document.
subjectsarray of SchemaSubjectRefnoLive subject versions holding it (empty once all are deleted).

SubjectList​

The tenant's live subjects, by name.

PropertyTypeRequiredDescription
subjectsarray of SubjectOutyesSubjects.

SubjectOut​

A schema subject.

PropertyTypeRequiredDescription
namestringyesHuman-readable name.
strategystring or nullnoStrategy.
compatibilityLevelstring or nullnonull = the tenant default.
effectiveCompatibilityLevelstringyesThis subject's level, else the tenant default.
modestringyesMode.
projectIdstring or nullnoThe catalog item new versions are registered into.
versionCountintegernoNumber of version.
latestVersioninteger or nullnoLatest Version.
sourceRefstring or nullnoregistry:<url> when a schema-registry connector mirrors this subject from an upstream registry (MFI-12.3); null for a subject registered or attached in Apiome.
sourceConnectorIdstring or nullnoThe schema-registry connector that mirrors this subject, if any.
createdAtstring (date-time)yesCreated At.
updatedAtstring (date-time)yesUpdated At.

SubjectSettings​

Create a subject or change its settings; an omitted field is kept.

PropertyTypeRequiredDescription
strategystring or nullnotopic, record or topic_record.
compatibilityLevelstring or nullnoThis subject's level; unset means the tenant default.
modestring or nullnoREADWRITE or READONLY.

SubjectVersionList​

A subject's live versions, oldest first.

PropertyTypeRequiredDescription
subjectstringyesSubject.
versionsarray of SubjectVersionOutyesVersions.

SubjectVersionOut​

One version of a subject: a schema id and the catalog item revision that holds it.

PropertyTypeRequiredDescription
subjectstringyesSubject.
versionintegeryesVersion.
idintegeryesThe schema id (shared by every subject holding the same schema).
schemaTypestringyesSchema Type.
fingerprintstringyesFingerprint.
referencesarray of anynoReferences.
projectIdstringyesThe catalog item holding the schema.
versionRecordIdstringyesThe catalog item revision holding the schema.
upstreamVersioninteger or nullnoThe upstream registry's version number of a mirrored version (MFI-12.3).
upstreamSchemaIdinteger or nullnoThe upstream registry's schema id of a mirrored version (MFI-12.3).
createdAtstring (date-time)yesCreated At.
schemastring or nullnoThe schema text (single-version reads only).