NAME
Imgur::API::Endpoint::Comment
DESCRIPTION
Access to the imgur Comment API Endpoint.
METHODS
get
Get information about a specific comment.
Parameters
commentrequiredComment
create
Creates a new comment, returns the ID of the comment.
Parameters
commentrequiredThe comment text, this is what will be displayed
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 on
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
image_idrequiredThe ID of the image in the gallery that you wish to comment on
commentrequiredThe 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
voterequiredVote
commentrequiredComment
report
Report a comment for being inappropriate.
Parameters
2requiredreasonoptionalAn 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
1requiredcommentrequiredComment
4required3required5required
SEE ALSO
https://api.imgur.com/endpoints/comment