The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Imgur::API::Endpoint::Comment

DESCRIPTION

    Access to the imgur Comment API Endpoint.

METHODS

get

    Get information about a specific comment.

Parameters

  • comment required

    Comment

create

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

Parameters

  • comment required

    The comment text, this is what will be displayed

  • 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

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

  • 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

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

  • 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

  • 5 required

SEE ALSO

    https://api.imgur.com/endpoints/comment