versions
Creates, updates, deletes, gets or lists a versions resource.
Overview
| Name | versions |
| Type | Resource |
| Id | confluent.schema_registry.versions |
Fields
| Name | Datatype | Description |
|---|---|---|
subject | string | Name of the subject |
version | integer | Version number |
Methods
| Name | Accessible by | Required Params | Description |
|---|---|---|---|
get_versions | SELECT | id | Get all the subject-version pairs associated with the input ID. |
list_versions | SELECT | subject | Retrieves a list of versions registered under the specified subject. |
SELECT examples
Get all the subject-version pairs associated with the input ID.
SELECT
subject,
version
FROM confluent.schema_registry.versions
WHERE id = '{{ id }}';