NAME
Imgur::API::Endpoint::Comment
SYNOPSISA
Access to the imgur Comment API Endpoint.
See: https://api.imgur.com/endpoints/comment
METHODS
get(%params)
Get information about a specific comment.
Parameters =over 4
comment REQUIRED Comment
create(%params)
Creates a new comment, returns the ID of the comment.
Parameters =over 4
parent_id OPTIONAL The ID of the parent comment, this is an alternative method to create a reply.
comment REQUIRED The comment text, this is what will be displayed
image_id REQUIRED The ID of the image in the gallery that you wish to comment on
delete(%params)
Delete a comment by the given id.
Parameters =over 4
comment REQUIRED Comment
replies(%params)
Get the comment with all of the replies for the comment.
Parameters =over 4
comment REQUIRED Comment
replyCreate(%params)
Create a reply for the given comment.
Parameters =over 4
comment REQUIRED The comment text, this is what will be displayed
image_id REQUIRED The ID of the image in the gallery that you wish to comment on
vote(%params)
Vote on a comment. The {vote} variable can only be set as "up" or "down".
Parameters =over 4
vote REQUIRED Vote
comment REQUIRED Comment
report(%params)
Report a comment for being inappropriate.
Parameters =over 4
4 REQUIRED
2 REQUIRED
1 REQUIRED
comment REQUIRED Comment
3 REQUIRED
5 REQUIRED
reason OPTIONAL An 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 Pornography
7 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 58:
'=item' outside of any '=over'
- Around line 72:
'=item' outside of any '=over'
- Around line 86:
'=item' outside of any '=over'
- Around line 104:
'=item' outside of any '=over'
- Around line 122:
'=item' outside of any '=over'