list_schemas
Every schema version in the namespace, and whether each one kept its source text.
async fn list_schemas(&self, query: &ListSchemasQuery) -> Result<ListSchemasResult, BrainHttpError>async fn list_schemas(&self, request: &SchemaListRequest) -> Result<Vec<SchemaListItem>>
async fn list_schemas_frames(&self, request: &SchemaListRequest) -> Result<Vec<SchemaListResponseFrame>>Parameters
ParameterTypeRequired
limitintegeroptionalPage size.
cursorstring (wire: bytes)optionalCursor from the previous page.
Returns
FieldTypePresence
namespacestringalwaysThe namespace.
itemsSchemaVersion[]alwaysEach with schemaVersion, uploadedAtUnixNanos, validatorVersion and hasSourceText.
totalintegeralwaysHow many versions exist in total.
next_cursorstringAbsent on the last page.
hasSourceText can be false
false means the document itself was not retained for that version, only
the compiled form. get_schema on such a version
cannot give you the text back — so keep your schemas in version control, not
only in Brain.
See also
Was this page helpful?