-
Notifications
You must be signed in to change notification settings - Fork 14
Trigger a webhook
gerome12 edited this page Feb 27, 2020
·
4 revisions
Used to trig manualy a webhook. The user must be an admin.
URL : /albums/{album_id}/webhooks/{webhook_id}/trigger
Method : POST
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
-
Content-Type
: Must be :application/x-www-form-urlencoded
Parameters
-
event={event}
- if event is new_series
StudyInstanceUID={StudyInstanceUID}
-
SeriesInstanceUID={SeriesInstanceUID}
-
SeriesInstanceUID
can be send multiple times.(Optional)
-
- if event is new_user
user={user_id/user_mail}
- if event is new_series
Success Response
-
Status :
202 Accepted
Error Response
If the user is not found
If the webhook is not found
If the album is not found
-
Status :
404 Not Found
If a parameter is wrong
-
Status :
400 Bad Request
- 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