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.
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.