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

  • comment required

    Comment

create

Creates a new comment, returns the ID of the comment. 

Parameters

  • parent_id optional

    The ID of the parent comment, this is an alternative method to create a reply.
  • image_id required

    The ID of the image in the gallery that you wish to comment on
  • comment required

    The comment text, this is what will be displayed

delete

Delete a comment by the given id.

Parameters

  • comment required

    Comment

replies

Get the comment with all of the replies for the comment.

Parameters

  • comment required

    Comment

replyCreate

Create a reply for the given comment.

Parameters

  • 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

Vote on a comment. The {vote} variable can only be set as "up" or "down". 

Parameters

  • vote required

    Vote
  • comment required

    Comment

report

Report a comment for being inappropriate.

Parameters

  • 5 required

  • 2 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
                                   
  • 1 required

  • comment required

    Comment
  • 4 required

  • 3 required

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