post_replacements

Promote a post replacement

Changed on

Promotes a post replacement to a new post.

post/post_replacements/{id}/promote.json

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/post_replacements/{id}/promote.json
  • Auth: one of:
    • none
    • HTTP basic
    • API key in query parameter login and API key in query parameter api_key

Path parameters

idinteger required

The unique ID of the post replacement

Response

The promoted post replacement

idinteger required

The unique ID of the post

created_atstring date-time required

The time when the post was created

updated_atstring date-time required

The last time the post was updated

locked_tagsstring[] required

An array of tags that are locked

change_seqinteger required

The sequence number of changes to the post

rating's' | 'q' | 'e' required

The rating of the post (e.g., safe, questionable, explicit)

fav_countinteger required

The number of times the post has been favorited

sourcesstring[] required

An array of sources for the post

poolsinteger[] required

An array of pool IDs associated with the post

approver_idinteger nullable

The ID of the user who approved the post, if applicable

uploader_idinteger required

The ID of the user who uploaded the post

uploader_namestring

The username of the user who uploaded the post

descriptionstring required

The description of the post

comment_countinteger required

The number of comments on the post

is_favoritedboolean

Whether the post is favorited by the current user

voteinteger

The requesting user's vote on the post, 1, -1, or 0 when they have not voted or are not logged in

has_notesboolean required

Whether the post has any notes attached

durationnumber nullable

The duration of the post, if applicable

Changes

    • ▲

      the response property / became nullable for the status

    • ▲

      the response property / became nullable for the status

    • ▲

      the response property / became nullable for the status

    • ●

      added the new webp enum value to the / response property for the response status

    • ○

      added the optional property to the response with the status

    • ○

      removed the apng enum value from the / response property for the response status

    • ○

      endpoint added