Annotations
- Fetches all resume annotations -
GETto/api/v1/resumes/:id/annotations - Deletes specified resume annotation -
DELETEto/api/v1/resumes/:id/annotations - Creates annotation on resume -
POSTto/api/v1/resumes/:id/annotationsWhen creating annotation, these fields can be passed (default values are shown as well) :user_id-:integer:text-:string:x-:float:y-:floatExample 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