Get a list of user alerts
Get a list of user alerts.
Query parameters
Unix timestamp of oldest alert to include. Note that unread or unviewed alerts are always included.
If true, gets only unviewed alerts. Unviewed alerts have not been seen (in the standard UI).
If true, gets only unread alerts. Unread alerts may have been seen but the content they relate to has not been viewed.
Response
OK
Changes
Changed in 2 of the 7 revisions of this API.42327
- ▲
the
alerts/items/response's property type/format changed fromstring/toobject/for status200response-property-type-changed
- ▲
the
paginationresponse's property type/format changed fromstring/toobject/for status200response-property-type-changed
- ○
api operation id
get_alerts_removed and replaced withgetAlertsapi-operation-id-removed
- ○
the endpoint scheme security
XF-Api-Keywas added to the APIapi-security-added
- ○
the endpoint scheme security
XF-OAuth2was added to the APIapi-security-added
- ○
added the new optional
headerrequest parameterXF-Api-Userto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameterapi_bypass_permissionsto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the optional property
alerts/items/Userto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/actionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/alert_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/alert_textto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/alert_urlto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/alerted_user_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/auto_readto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/content_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/content_typeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/event_dateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/read_dateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/user_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/usernameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
alerts/items/view_dateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
pagination/current_pageto the response with the200statusresponse-optional-property-added
- ○
added the optional property
pagination/last_pageto the response with the200statusresponse-optional-property-added
- ○
added the optional property
pagination/per_pageto the response with the200statusresponse-optional-property-added
- ○
added the optional property
pagination/shownto the response with the200statusresponse-optional-property-added
- ○
added the optional property
pagination/totalto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
alerts/items/response's property type/format changed fromobject/tostring/for status200response-property-type-changed
- ▲
the
paginationresponse's property type/format changed fromobject/tostring/for status200response-property-type-changed
- ●
the optional response header
XF-Latest-Api-Versionremoved for the status200optional-response-header-removed
- ●
the optional response header
XF-Request-Userremoved for the status200optional-response-header-removed
- ●
the optional response header
XF-Request-User-Extrasremoved for the status200optional-response-header-removed
- ●
the optional response header
XF-Used-Api-Versionremoved for the status200optional-response-header-removed
- ●
removed the optional property
alerts/items/Userfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/actionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/alert_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/alert_textfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/alert_urlfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/alerted_user_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/auto_readfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/content_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/content_typefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/event_datefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/read_datefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/user_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/usernamefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
alerts/items/view_datefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
pagination/current_pagefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
pagination/last_pagefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
pagination/per_pagefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
pagination/shownfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
pagination/totalfrom the response with the200statusresponse-optional-property-removed
- ○
api operation id
getAlertsremoved and replaced withget_alerts_api-operation-id-removed
- ○
the endpoint scheme security
XF-Api-Keywas removed from the APIapi-security-removed
- ○
the endpoint scheme security
XF-OAuth2was removed from the APIapi-security-removed
This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲