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)

  • roboco-san
  • omaru polka
  • bronya zaychik (wolf's dawn)
  • bronya zaychik (herrscher of truth)
  • mashio
  • ookami mio (casual)
  • ookami mio (street)
  • tokoyami towa (school uniform)
  • kiana kaslana
  • klen (clevatess)
  • shirakami fubuki (aristocrat kei)
  • kiana kaslana (void drifter)
  • yuzuki choco (streetwear)
  • natsuiro matsuri (street casual)
  • kiana kaslana (sunny beach)
  • murasaki shion (school uniform)
  • toriyama minami (gunarmdyne)
  • kiana kaslana (don quijote)
  • omaru polka (street casual)
  • gyakkou no lens flare (project sekai)
  • shishiro botan (casual)
  • roboco-san (workoutwear)
  • tokino sora (streetwear)
  • oozora subaru (work)
  • kiana kaslana (knight moonbeam)

Options

  • Wiki History
  • Discussions
  • What Links Here

api:note versions

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

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

Record field format

NameTypeDetails
idinteger>0
note_idinteger>0
post_idinteger>0
xinteger>=0
yinteger>=0
widthinteger>=0
heightinteger>=0
bodystring
is_activeboolean
versioninteger>0
updater_idinteger>0
created_attimestamp
updated_attimestamp
updater_addr_ipinetLimited to Moderator+

Associated attributes

NameTypeNumberAvailabilityDetails
notenotesinglerequired
postpostsinglerequired
updaterusersinglerequired

Nomenclature

  • Plural form: "note_versions"
    • Used in the URL pathname
  • Singular form: "note_version"
    • Unused
  • Version of: API:Notes

Actions

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

Index
HTTP MethodGET
Base URL/note_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
    • note_id
    • post_id
    • x
    • y
    • width
    • height
    • version
    • created_at
    • updated_at
  • Text syntax
    • body
  • Boolean syntax
    • is_active
  • User syntax
    • updater
Special search parameters
  • post_tags_match - The post query of the search term matches the post of the note.
  • body_matches - Case-insensitive wildcard search on the body field.
Show
HTTP MethodGET
Base URL/note_versions/$id.json
Typeread request
Description$id is the note version ID.

See also

  • Help:Common URL Parameters
  • Help:API

External links

Controllerhttps://github.com/danbooru/danbooru/blob/master/app/controllers/note_versions_controller.rb
Modelhttps://github.com/danbooru/danbooru/blob/master/app/models/note_version.rb
Policyhttps://github.com/danbooru/danbooru/blob/master/app/policies/note_version_policy.rb
Terms / Privacy / Upgrade / Contact /