View a markdown version of this page

Ontology Version Management - AWS Prescriptive Guidance

Ontology Version Management

Ontology Version Management REST API

Operation

Method

Endpoint

Request Content-Type

Response Accept

Notes

List Versions

GET

/ontologies/{id}/versions

application/json

Returns version history with timestamps and authors

Get Version

GET

/ontologies/{id}/versions/{versionId}

text/turtle, application/n-quads, application/trig

Retrieve a specific version snapshot; N-Quads recommended for provenance-aware retrieval

Publish Version

POST

/ontologies/{id}/versions/{versionId}/publish

application/json

Publish ontology version

Diff Versions

GET

/ontologies/{id}/versions/diff?from={v1}&to={v2}

application/json, text/turtle

Returns added/removed/changed axioms

Rollback

POST

/ontologies/{id}/versions/{versionId}/rollback

application/json

Restore a prior version as active