-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotation create POST api #980
Conversation
… leaving code around to allow this to be reverted later.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #980 +/- ##
==========================================
- Coverage 0.14% 0.14% -0.01%
Complexity 29 29
==========================================
Files 565 565
Lines 63188 63363 +175
Branches 10947 10982 +35
==========================================
Hits 89 89
- Misses 63080 63255 +175
Partials 19 19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
POST /api/v3/annotations
to create a new Annotation.PR fixes #920
required (valid) values in payload:
mediaAssetId
x
,y
,width
,height
(theta
is optional; will be 0 if not given)iaClass
viewpoint
encounterId