NAME
Imgur::API::Model::Comment
DESCRIPTION
This data model represents an images comment.
FIELDS
id integer
-
The ID for the comment
image_id string
-
The ID of the image that the comment is for
comment string
-
The comment itself.
-
Username of the author of the comment
-
The account ID for the author
on_album boolean
-
If this comment was done to an album
album_cover string
-
The ID of the album cover image, this is what should be displayed for album comments
ups integer
-
Number of upvotes for the comment
downs integer
-
The number of downvotes for the comment
points float
-
the number of upvotes - downvotes
datetime integer
-
Timestamp of creation, epoch time
parent_id integer
-
If this is a reply, this will be the value of the comment_id for the caption this a reply for.
deleted boolean
-
Marked true if this caption has been deleted
vote string
-
The current user's vote on the comment. null if not signed in or if the user hasn't voted on it.
children Array of comments
-
All of the replies for this comment. If there are no replies to the comment then this is an empty set.
EXAMPLE
SEE ALSO
http://api.imgur.com/models/
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 13:
'=item' outside of any '=over'
- Around line 89:
You forgot a '=back' before '=head1'