Alerts
These API endpoints are related to user alerts on IBL
users/{id}/alertsGet User Alerts
Gets a users alerts.
All alerts are also sent via push notifications if the user has subscribed to them.
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Path Parameters
idRequiredstring
User ID
Query Parameters
pagestring
The page number
Success
users/{id}/alertsPatch User Alerts
Updates a set of user alerts with a given 'patch' to apply to the alert. Returns 204 on success
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Request Body
application/jsonRequiredpatchesarray<object>
List of patches to apply to alerts
Path Parameters
idRequiredstring
User ID
Success
users/{id}/alertsDelete All User Alerts
Deletes all user alerts. Returns 204 on success
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Path Parameters
idRequiredstring
User ID
Success
users/{id}/alerts/@featuredGet Featured User Alerts
Gets the featured user alerts of the user.
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Path Parameters
idRequiredstring
User ID
Query Parameters
acked_countRequiredstring
The number of alerts to return that have been acknowledged.
unacked_countRequiredstring
The number of alerts to return that have not been acknowledged.
Success
users/{id}/alerts/{itag}Get User Alert By Itag
Gets a single user alert based on its itag. This returns an alertlist to aid with consistency.
Authorization
User-Auth<token>
Requires a user token. Should be prefixed with User in Authorization header.
In: header
Path Parameters
idRequiredstring
User ID
itagRequiredstring
The itag of the alert
Success