Skip to content

API Reference parrot.knowledge.ontology.vocabulary.http

github-actions[bot] edited this page Dec 2, 2026 · 2 revisions

parrot.knowledge.ontology.vocabulary.http

View source

Read-only HTTP routes of the ontology vocabulary store (FEAT-824).

Alias OntologyNotFound

Re-exported from parrot.knowledge.ontology.vocabulary.exceptions.OntologyNotFound.

Alias OntologyVersionNotFound

Re-exported from parrot.knowledge.ontology.vocabulary.exceptions.OntologyVersionNotFound.

Alias build_snapshot

Re-exported from parrot.knowledge.ontology.vocabulary.snapshot.build_snapshot.

Function get_export

GET {prefix}/vocabularies/{ontology_id}/export[?as_of=N&fmt=turtle|jsonld].

get_export(request: web.Request) -> web.Response

Parameter Type Default Description
request web.Request

Returns: web.Response

Function get_snapshot

GET {prefix}/vocabularies/{ontology_id}/snapshot[?version=N] → the SQLite file, built on demand and cached.

get_snapshot(request: web.Request) -> web.StreamResponse

Parameter Type Default Description
request web.Request

Returns: web.StreamResponse

Function get_version

GET {prefix}/vocabularies/{ontology_id}/version → {"ontology_id", "version", "checksum"}.

get_version(request: web.Request) -> web.Response

Parameter Type Default Description
request web.Request

Returns: web.Response

Attribute logger

Function register_routes

Register the three routes; handlers read request.app['ontology_store'].

register_routes(app: web.Application, prefix: str = '/api/ontology') -> None

Parameter Type Default Description
app web.Application
prefix str '/api/ontology'

Alias resolve_ontology_settings

Re-exported from parrot.knowledge.ontology.vocabulary.settings.resolve_ontology_settings.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally