FastAPI
string · required string · uri · minLength: 1 · maxLength: 2083 · requiredstring · requiredstring · required
string · requiredstring · required string · uri · minLength: 1 · maxLength: 2083 · requiredstring · requiredstring · required
string · requiredstring · required string · uri · minLength: 1 · maxLength: 2083 · requiredstring · requiredstring · required
Create a Web Annotation.
POST
/{collection_slug}/
Create a Web Annotation in a Collection (collection_slug) with an optional
slug for the Annotation ID and return it.
path Parameters
collection_slugHeaders
slugCreate a Web Annotation. › Responses
The created Annotation.
An Annotation as it is returned by the API.
required
idcreatedmodified
Default: Annotation
Default: ["http://www.w3.org/ns/anno.jsonld","https://editions.sub.uni-goettingen.de/ns/textapi.jsonld"]
Retrieve a Web Annotation.
GET
/{collection_slug}/{annotation_slug}/
Retrieve an Annotation (annotation_slug) from a
Collection (annotation_slug).
path Parameters
collection_slugannotation_slugRetrieve a Web Annotation. › Responses
The requested Annotation.
An Annotation as it is returned by the API.
required
idcreatedmodified
Default: Annotation
Default: ["http://www.w3.org/ns/anno.jsonld","https://editions.sub.uni-goettingen.de/ns/textapi.jsonld"]
Replace a Web Annotation.
PUT
/{collection_slug}/{annotation_slug}/
Update (replace or insert) an Annotation (annotation_slug) in a Collection
(collection_slug).
path Parameters
collection_slugannotation_slugHeaders
if-matchReplace a Web Annotation. › Responses
The up-to-date Annotation.
An Annotation as it is returned by the API.
required
idcreatedmodified
Default: Annotation
Default: ["http://www.w3.org/ns/anno.jsonld","https://editions.sub.uni-goettingen.de/ns/textapi.jsonld"]