Post a comment about a study - OsiriX-Foundation/KheopsAuthorization GitHub Wiki
Used to post a comment (private or public) about a study. For posting a comment, the user must have access minimum one series of the study.
URL : /studies/{StudyInstanceUID}/comments
Method : POST
Auth Required : Authorization with a JWT Bearer token with the user as the sub claim. The user must be am admin or an user with "comments" permission.
Headers
Accept
: If present, require that this value beapplication/json
Content-Type
: Must be :application/x-www-form-urlencoded
Parameters
comment={comment}
to_user={user}
if set : the comment is private else, it's a public comment
Success Response
- Status :
204 No Content
Error Response
If the user is not found.
- Status :
404 Not Found
If the parameter comment is empty.
- Status :
400 Bad Request