Danbooru
Login Posts Comments Notes Artists Tags Pools Wiki Forum More ยป
Search Changes Help | Posts (0) History
  • Help
guro
scat
furry -rating:g

Recent Changes (all)

  • seahorse alma
  • leviathan (eco)
  • shugoma fumitsuki
  • momo alma
  • balloonpig alma
  • bellemere
  • ibaraki douji (touhou)
  • crayon shin-chan
  • sameko saba
  • white choco cookie (lady oscar)
  • sensei (sensei to mondaiji? no yuri)
  • otowa-san (young) (sensei to mondaiji? no yuri)
  • otowa-san (sensei to mondaiji? no yuri)
  • koseki bijou
  • mococo abyssgard
  • shiori novella
  • fuwawa abyssgard
  • ninomae ina'nis
  • nerissa ravencroft
  • takanashi kiara
  • mori calliope
  • harusaki nodoka
  • hakos baelz
  • irys (hololive)
  • ouro kronii

Options

  • Wiki History
  • Discussions
  • What Links Here

api:pool versions

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

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

Record field format

NameTypeDetails
idinteger>0
pool_idinteger>0
namestring
post_idsarrayintegers
added_post_idsarrayintegers
removed_post_idsarrayintegers
descriptionstring
categorystring[collection, series]
name_changedboolean
description_changedboolean
is_activebooleanunused
is_deletedboolean
booleanbooleanunused
versioninteger>0
updater_idinteger>0
created_attimestamp
updated_attimestamp
updater_addr_ipinetLimited to Moderator+

Associated attributes

NameTypeNumberAvailabilityDetails
poolpoolsinglerequired
updaterusersinglerequired

Nomenclature

  • Plural form: "pool_versions"
    • Used in the URL pathname
  • Singular form: "pool_version"
    • Unused
  • Version of: API:Pools

Actions

These are the various actions that can be done with pool version records.

Index
HTTP MethodGET
Base URL/pool_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
    • pool_id
    • updater_id
    • version
    • created_at
    • updated_at
  • Text syntax
    • name
    • description
    • category
  • Boolean syntax
    • name_changed
    • description_changed
    • is_active
    • is_deleted
  • Array syntax
    • post_ids
    • added_post_ids
    • removed_post_ids
Special search parameters
  • name_matches - Case-insensitive normalized wildcard search on the name field.
  • updater_name - Case-insensitive updater name to updater ID search.
  • post_id - Searches for a single post being added or removed from a pool.
  • is_new - Boolean syntax
    • Shorthand search for version=1 or version=>1

See also

  • Help:Common URL Parameters
  • Help:API

External links

Controllerhttps://github.com/danbooru/danbooru/blob/master/app/controllers/pool_versions_controller.rb
Modelhttps://github.com/danbooru/danbooru/blob/master/app/models/pool_version.rb
Policyhttps://github.com/danbooru/danbooru/blob/master/app/policies/pool_version_policy.rb
Terms / Privacy / Upgrade / Contact /