Annotations
- Fetches all resume annotations -
GET
to/api/v1/resumes/:id/annotations
- Deletes specified resume annotation -
DELETE
to/api/v1/resumes/:id/annotations
- Creates annotation on resume -
POST
to/api/v1/resumes/:id/annotations
When creating annotation, these fields can be passed (default values are shown as well) :user_id
-:integer
:text
-:string
:x
-:float
:y
-:float
Example of request{ "annotation": { "user_id": 222, "text": "some text", "x": "32.2121242911973", "y": "33.1221221223462" } }
Example of response ``` { "success": true, "status": 200, "data":[ { "comments":[ { "annotationid":10, "id":98, "likescount":1, "text":"qwe", "userid":222 } ], "id":10, "likescount":11, "position":112, "resume_id":5, "text":"some text", "x":37.2971232972973, "y":33.1221233123462 } ] }
Updated