NAME
Imgur::API::Endpoint::Notification
SYNOPSISA
Access to the imgur Notification API Endpoint.
See: https://api.imgur.com/endpoints/notification
METHODS
notifications(%params)
Get all notifications for the user that's currently logged in
Parameters =over 4
new OPTIONAL boolean - false for all notifications, true for only non-viewed notification. Default is true.
get(%params)
Returns the data about a specific notification
Parameters =over 4
notification REQUIRED Notification
viewed(%params)
Marks a notification as viewed, this way it no longer shows up in the basic notification request
Parameters =over 4
ids OPTIONAL To mark multiple notifications as read in one call, pass in an 'ids' parameter (omitting the 'id' parameter in the route) with the value of a comma-separated string of notification ids.
notification REQUIRED Notification
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 22:
'=item' outside of any '=over'
- Around line 36:
'=item' outside of any '=over'
- Around line 50:
'=item' outside of any '=over'