-
Notifications
You must be signed in to change notification settings - Fork 13
Album List
Used to get a list of albums for a given user.
URL : /albums
Method : GET
Auth Required : Authorization with a JWT Bearer token with the user as the sub claim.
Headers
-
Accept
: If present, require that this value beapplication/json
URL Parameters
-
name={name}
- *{name} : end with
- {name}* : start with
- *{name}* : contain
-
modality={modality}
-
favorite={true/false}
by default : false -
created_time={date}
-
last_event_time={date}
- -{date} : before the date (include date)
- {date}- : after the date (include date)
- {date_1}-{date_2} : from date_1 to date_2 (include date)
- date format : YYYYMMDD
-
limit={limit}
-
offset={offset}
-
fuzzymatching={true/false}
by default : false -
sort={sortBy}
by default : sort by creation date descendingname
created_time
last_event_time
number_of_studies
number_of_users
number_of_comments
-
sort={param}
for ascending -
sort=-{param}
for descending
-
canCreateCapabilityToken={true/false}
by default : false
Return a list of albums where the user can create a Capability Token
-
canAddSeries={true/false}
by default : false
Return a list of albums where the user can upload series
Success Response
-
Status :
200 OK
Header X-Total-Count
contains the total number of albums to which the user has access
[
{
"album_id": "37bs6GW5cR",
"name": "album name",
"description": "some description",
"created_time": "2018-08-12T08:22:31",
"last_event_time": "2018-09-21T09:38:42",
"modalities" : ["CT","MR"],
"number_of_users": 5,
"number_of_comments": 17,
"number_of_studies": 12,
"number_of_series": 35,
"add_user": false,
"download_series": true,
"send_series": true,
"delete_series": false,
"add_series": true,
"write_comments": true,
"is_favorite": false,
"notification_new_series": true,
"notification_new_comment": true,
"is_admin": true
},
{...}
]
Error Response
If Queries Parameters are incorrect.
-
Status :
400 Bad Request
If the user is not found
-
Status :
404 Not Found
- Authentication API
- Study List
- Studies/Series Favorites
- Working with the Inbox
- DICOMweb Capability Tokens
- Webhooks
-
Working with Albums
- Album List
- Get an Album
- Create an album
- Edit an album
- Delete an album
- Add a study
- Add a series
- Remove a study
- Remove a series
- Add a User
- Remove a User
- Get the list of Users
- Add and upgrade an user to Admin
- Downgrade an admin to User
- Add an album to favorites
- Remove an album from favorites
- Post a comment
- Get a list of events (comments and mutations)
- Others
- Report Providers