NAME
Imgur::API::Endpoint::Comment
DESCRIPTION
Access to the imgur Comment API Endpoint.
METHODS
get
Get information about a specific comment.
Parameters
comment
requiredComment
create
Creates a new comment, returns the ID of the comment.
Parameters
comment
requiredThe comment text, this is what will be displayed
parent_id
optionalThe ID of the parent comment, this is an alternative method to create a reply.
image_id
requiredThe ID of the image in the gallery that you wish to comment on
delete
Delete a comment by the given id.
Parameters
comment
requiredComment
replies
Get the comment with all of the replies for the comment.
Parameters
comment
requiredComment
replyCreate
Create a reply for the given comment.
Parameters
image_id
requiredThe ID of the image in the gallery that you wish to comment on
comment
requiredThe comment text, this is what will be displayed
vote
Vote on a comment. The {vote} variable can only be set as "up" or "down".
Parameters
vote
requiredVote
comment
requiredComment
report
Report a comment for being inappropriate.
Parameters
2
requiredreason
optionalAn 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
1
requiredcomment
requiredComment
4
required3
required5
required
SEE ALSO
https://api.imgur.com/endpoints/comment