bounswe / bounswe2022group4

6 stars 3 forks source link

Backend: Text annotation endpoints #552

Closed MercerFrey closed 1 year ago

MercerFrey commented 1 year ago

It creates text-annotation model, serializer, urls and the views. There are two APIView classes. One of them returns an annotation by the annotation id. The other one has two endpoints. Get endpoint returns a list of annotations for the given post. Post endpoint creates an annotation with the appropriate body. These endpoints are compatible with Web Annotation Data Model.

oguzhantok commented 1 year ago

It looks great!!