Skip to content

ontocast.api

HTTP API package (FastAPI).

Modules:

Name Description
app

FastAPI application factory and route handlers.

match_models

Pydantic request/response models for match API routes.

ontologies

Ontology list, upload, replace, and delete routes.

parse

Shared HTTP query/body parsing for API server routes.

process_helpers

Shared helpers for local batch processing and HTTP response assembly.

process_request

Shared /process and /process_unit request body parsing.

responses

JSON error bodies for HTTP routes (keeps FastAPI handlers thin).

schemas

Pydantic models for the OntoCast HTTP API.

shapes

SHACL shapes upload, list, and delete routes.

tenancy_resolution

Shared HTTP request tenancy resolution for API routes.