Skip to main content

Types public

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

Tag: types-public · 1 operation

GET /types/{schema_path}​

Get a public registry type by its $id path

Serve the JSON Schema document a registry $id names.

schema_path is everything after /types/ — namespace plus type-name slug, e.g. std/v0/primitives/array. It is re-joined onto :data:REGISTRY_BASE_URL to rebuild the exact $id the registry derived, then matched against the stored column, so this endpoint agrees with $ref resolution by construction rather than by a second parsing rule.

Args: schema_path: The $id path below the registry mount.

Returns: The stored schema document with the JSON Schema media type.

Raises: HTTPException: 404 when no is_system/is_public type carries that $id.

Operation id: get_public_type_types__schema_path__get

Parameters

NameInTypeRequiredDescription
schema_pathpathstringyesPath parameter identifying the schema path segment.

Responses

StatusDescriptionBody
200The type's JSON Schema document, as stored (its $id included).application/schema+json any
404No publicly servable type at this path.—
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.