comments

Prepare a new comment

Changed on

Returns an unsaved comment built from the supplied attributes.

get/comments/new.json

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/comments/new.json
  • Auth: one of:
    • none
    • HTTP basic
    • API key in query parameter login and API key in query parameter api_key

Query parameters

comment[body]string

The comment body text

comment[post_id]integer

The ID of the post to comment on

comment[do_not_bump_post]boolean

Whether to bump the post

comment[is_sticky]boolean

Whether the comment is sticky (staff only)

comment[is_hidden]boolean

Whether the comment is hidden (moderator only)

Response

An unsaved comment

idinteger required

The unique ID of the comment

post_idinteger required

The ID of the post this comment belongs to

creator_idinteger required

The ID of the user who created the comment

bodystring required

The comment body text

scoreinteger required

The comment score

created_atstring date-time required

The time when the comment was created

updated_atstring date-time required

The last time the comment was updated

updater_idinteger nullable required

The ID of the user who last updated the comment

do_not_bump_postboolean required

Whether the comment should not bump the post

is_hiddenboolean required

Whether the comment is hidden

is_stickyboolean required

Whether the comment is sticky

warning_typeinteger nullable

The type of warning applied to the comment

warning_user_idinteger nullable

The ID of the user who applied the warning

creator_namestring

The username of the comment creator

updater_namestring nullable

The username of the last updater

voteinteger

The requesting user's vote on the comment. 0 when absent, locked or logged out

Changes