/api/alert
GET /api/alert
Changed onFetch alerts which the current user has created or will receive, or all alerts if the user is an admin. The optional user_id will return alerts created by the corresponding user, but is ignored for non-admin users.
get/api/alert
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Query parameters
archivedboolean nullable
value must be a valid boolean string ('true' or 'false').
user_idinteger nullable
value must be an integer greater than zero.
Response
Successful response
Changes
- info
the
queryrequest parameterarchivedbecame optional
- info
- breaking
api path removed without deprecation
- info
endpoint added
- breaking