-
Notifications
You must be signed in to change notification settings - Fork 12
Capability Token Info
gerome12 edited this page May 28, 2021
·
15 revisions
Used to get informations about a capability token
URL : /capabilities/{capability_id}
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
Success Response
If the token was found.
-
Status :
200 Ok
{
"id": "See1fW5f2Z",
"issued_at_time": "2019-02-11T16:19:16.687Z",
"not_before_time": "2018-10-22T14:20:59.734Z",
"last_use": "2018-11-12T13:23:46.156Z",
"expiration_time": "2019-01-22T14:20:59.734Z",
"revoked": false,
"title": "a title",
"token_type": "Bearer"
"scope_type": "album",
"album": {
"id": "hx7S6Q2nv0",
"name": "The album name"
},
"read_permission": true,
"write_permission": false,
"download_permission": true,
"appropriate_permission": false,
"created_by": {
"email": "user@domain.com",
"sub": "c2fd0b66-dac4-4b98-9341-d4f3b303bd4e",
"name": "user name"
},
or
"scope_type": "user"
}
Error Response
If the token are unknow
-
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