wiki_pages

Prepare a new wiki page

Changed on

Returns an unsaved wiki page built from the supplied attributes. Persisted fields such as the ID and timestamps are null.

get/wiki_pages/new.json

Request

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

Query parameters

wiki_page[title]string

The title to prefill, normalized before it is returned

wiki_page[body]string

The body content to prefill

wiki_page[edit_reason]string

The edit reason to prefill

wiki_page[featured_posts_string]string

Space-separated post IDs to feature on the page

wiki_page[parent]string

The parent wiki page title (privileged+ only)

wiki_page[is_locked]boolean

Whether the page is locked (staff only)

wiki_page[is_deleted]boolean

Whether the page is deleted (staff only)

wiki_page[skip_secondary_validations]boolean

Whether to skip the rename post-count check (staff only)

Response

An unsaved wiki page

idinteger required

The unique ID of the wiki page

creator_idinteger required

The ID of the user who created the wiki page

creator_namestring

The username of the creator

titlestring required

The title of the wiki page

bodystring required

The body content of the wiki page

is_lockedboolean required

Whether the wiki page is locked

is_deletedboolean required

Whether the wiki page is deleted

other_namesstring[] required

Alternative names for the wiki page

featured_postsinteger[] required

The IDs of the posts featured on the wiki page

updater_idinteger nullable

The ID of the user who last updated the wiki page

parentstring nullable

The parent wiki page title for redirects

category_idinteger nullable

The tag category ID associated with the wiki page

created_atstring date-time required

When the wiki page was created

updated_atstring date-time required

When the wiki page was last updated

Changes