post_events

Get a list of post events

Changed on

Returns a list of post events filtered by various criteria.

When v2=true, the response is an unwrapped array. Otherwise the array is wrapped under post_events.

get/post_events.json

Request

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

Query parameters

pageinteger

The page number to retrieve

limitinteger

The number of post events to retrieve per page

search[post_id]integer

Filter by post ID

search[creator_name]string

Filter by the creator's username

search[creator_id]integer

Filter by the creator's ID

search[action]'deleted' | 'undeleted' | 'approved' | 'unapproved' | 'flag_created' | 'flag_removed' | 'favorites_moved' | 'favorites_received' | 'rating_locked' | 'rating_unlocked' | 'status_locked' | 'status_unlocked' | 'note_locked' | 'note_unlocked' | 'comment_locked' | 'comment_unlocked' | 'comment_disabled' | 'comment_enabled' | 'replacement_accepted' | 'replacement_rejected' | 'replacement_promoted' | 'replacement_deleted' | 'expunged' | 'changed_bg_color' | 'replacement_penalty_changed' | 'owner_changed' | 'replacement_moved'

The action that was performed on the post

Filter by the action performed

search[created_at]string

Filter by the creation date of the event

search[id]string

Filter by event ID

v2'true'

If "true", the response uses the v2 Post format. Otherwise the legacy format is returned.

Response

A list of post events matching the search criteria

OR

Changes

    • ▲

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • ○

      added the new enum value owner_changed to the query request parameter search[action]

    • ○

      added the new enum value replacement_moved to the query request parameter search[action]

    • ○

      removed subschema #1 subschema #2 from the response body oneOf list for the response status

    • ▲

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • ▲

      the response's body type changed from array to no type for status

    • ○

      added the new optional query request parameter v2