Imgur::API::Model::Notification
The base model for a notification.
id integer
The ID for the notification
account_id integer
The Account ID for the notification
viewed boolean
Has the user viewed the image yet?
content Mixed
This can be any other model, currently only using comments and conversation metadata.
{ "data": { "replies": [{ "id": 4511, "account_id": 384077, "viewed": false, "content": { "album_cover": null, "author": "jasdev", "author_id": 3698510, "children": [], "comment": "Reply test", "datetime": 1406070774, "deleted": false, "downs": 0, "id": 3616, "image_id": "VK9VqcM", "on_album": false, "parent_id": 3615, "points": 1, "ups": 1, "vote": null } }], "messages": [{ "id": 4523, "account_id": 384077, "viewed": false, "content": { "id": "620", "from": "jasdev", "account_id": "384077", "with_account": "3698510", "last_message": "wow. such message.", "message_num": "103", "datetime": 1406935917 } }] }, "success": true, "status": 200 }
http://api.imgur.com/models/notification
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Imgur::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imgur::API
CPAN shell
perl -MCPAN -e shell install Imgur::API
For more information on module installation, please visit the detailed CPAN module installation guide.