NAME
Imgur::API::Endpoint::Comment
DESCRIPTION
Access to the imgur Comment API Endpoint.
See: https://api.imgur.com/endpoints/comment
METHODS
get
Get information about a specific comment.
Parameters
commentrequiredComment
create
Creates a new comment, returns the ID of the comment.
Parameters
parent_idoptionalThe ID of the parent comment, this is an alternative method to create a reply.image_idrequiredThe ID of the image in the gallery that you wish to comment oncommentrequiredThe comment text, this is what will be displayed
delete
Delete a comment by the given id.
Parameters
commentrequiredComment
replies
Get the comment with all of the replies for the comment.
Parameters
commentrequiredComment
replyCreate
Create a reply for the given comment.
Parameters
commentrequiredThe comment text, this is what will be displayedimage_idrequiredThe ID of the image in the gallery that you wish to comment on
vote
Vote on a comment. The {vote} variable can only be set as "up" or "down".
Parameters
voterequiredVotecommentrequiredComment
report
Report a comment for being inappropriate.
Parameters
5required2requiredreasonoptionalAn integer representing the reason for the report Value Description 1 Doesn't belong on Imgur 2 Spam 3 Abusive 4 Mature content not marked as mature 5 Pornography1requiredcommentrequiredComment4required3required
13 POD Errors
The following errors were encountered while parsing the POD:
- Around line 21:
'=item' outside of any '=over'
- Around line 28:
You forgot a '=back' before '=head2'
- Around line 34:
'=item' outside of any '=over'
- Around line 51:
You forgot a '=back' before '=head2'
- Around line 57:
'=item' outside of any '=over'
- Around line 64:
You forgot a '=back' before '=head2'
- Around line 70:
'=item' outside of any '=over'
- Around line 77:
You forgot a '=back' before '=head2'
- Around line 83:
'=item' outside of any '=over'
- Around line 95:
You forgot a '=back' before '=head2'
- Around line 101:
'=item' outside of any '=over'
- Around line 113:
You forgot a '=back' before '=head2'
- Around line 119:
'=item' outside of any '=over'
=over without closing =back