Add a study - OsiriX-Foundation/KheopsAuthorization GitHub Wiki

Used to add a study. For adding a study, the user must be an admin or an user with "addSeries" permission.

URL : /studies/{StudyInstanceIUD}/albums/{to_album_id}

Method : PUT

Auth Required : Authorization with a JWT Bearer token with the user as the sub claim. The user must an admin or an user with "addSeries" permission.

Headers

  • X-Authorization-Source : Bearer album_capability_token (Optional) Can be used for send study from the album attached to the token to another album. The album capability token must have Appropriate permission. The URL parameter album mustn't be set.

URL Parameters

  • album={from_album_id}

or

  • inbox=true

Use only one of these two parameters for specify the source of the study.

Success Response

  • Status : 201 Created

Error Response

If the user is not an admin or an user with "addSeries" permission.

  • Status : 403 Forbidden

If the user is not found. If the album id does not exist. If the user is not a member of the album. If the study is not present in the source.

  • Status : 404 Not Found