AIBooru
Login Posts Comments Notes Artists Tags Pools Wiki Forum More ยป
Listing Upload Hot Changes Help
A list of tags to help categorize this search. Space delimited.

Search

  • Help
guro
scat

Tags

Options

Related

  • Deleted / All
  • Random
  • History
  • Discussions
  • Count
  • Posts Wiki Search »
  • Size
    • Small
    • Medium
    • Large
    • Huge
    • Huge
    • Gigantic
    • Absurd
    • Show scores
  • Edit

    Table of Contents
    • 1. Record field format
    • 2. Associated attributes
    • 3. Nomenclature
    • 4. Index
    • 5. See also

    The following includes the details of how to interface with the post version records through the API.

    Record field format

    NameTypeDetails
    idinteger>0
    post_idinteger>0
    tagsstringspace delineated, tag format
    added_tagsarraystring, tag format
    removed_tagsarraystring, tag format
    ratingstring[g, s, q, e]
    parent_idinteger>0 or null
    sourcestring
    rating_changedboolean
    parent_changedboolean
    source_changedboolean
    versioninteger>0
    updater_idinteger>0
    created_attimestamp
    updated_attimestamp
    updater_addr_ipinetLimited to Moderator+

    Associated attributes

    NameTypeNumberAvailabilityDetails
    postpostsinglerequired
    updaterusersinglerequired

    Nomenclature

    • Plural form: "post_versions"
      • Used in the URL pathname
    • Singular form: "post_version"
      • Unused
    • Version of: API:Posts

    Index

    HTTP MethodGET or POST [1]
    Base URL/post_versions.json
    Typeread request
    DescriptionThe default order is ID descending.
    Search attributes

    All of the following are standard attributes with all of their available formats and qualifiers.

    • Number syntax
      • id
      • post_id
      • parent_id
      • updater_id
      • version
      • created_at
      • updated_at
    • Text syntax
      • tags
      • rating
      • source
    • Boolean syntax
      • rating_changed
      • parent_changed
      • source_changed
    • Array syntax
      • added_tags
      • removed_tags
    Special search parameters
    • changed_tags - Search where all tags must be either an added tag or removed tag
      • The list of tags is space-delineated
    • all_changed_tags - The same as changed_tags
    • changed_tags - Search where at least one tag must be either an added tag or removed tag
      • The list of tags is space-delineated
    • tag_matches - Case-insensitive search of the tag string with first tag from the input
      • If asterisks ( * ) are missing from the input, it adds an asterisk to either side of the tag
    • updater_name - Searches by updater name instead of updater ID
    • is_new - Boolean syntax
      • Shorthand search for version=1 or version=>1

    See also

    [1] Help:API read requests

    • Help:Number syntax
    • Help:Text syntax
    • Help:Boolean syntax
    • Help:Array syntax
    • Help:Common URL Parameters
    • Help:API

    View wiki

    No posts found.

    1
    Terms / Privacy / Contact /