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)

  • splashing
  • carrying over shoulder
  • grim aloe
  • spread arms
  • dorothy (serendipity) (nikke)
  • takeda hiromitsu
  • nia hoshineko (vtuber)
  • gold ship (umamusume)
  • howto:tag checklist
  • nolan grayson
  • omni-man
  • vritra (young) (fate)
  • shigatsu wa kimi no uso
  • moekko monster
  • toukai toyohiko
  • sensei (sensei to mondaiji? no yuri)
  • otowa-san (university) (sensei to mondaiji? no yuri)
  • elvira henneberg
  • ko kage
  • otowa-san (sensei to mondaiji? no yuri)
  • surfer (arknights)
  • kuki limone
  • blaze the igniting spark (arknights)
  • xingzhu (arknights)
  • jojima yuji

Options

  • Wiki History
  • Discussions
  • What Links Here

api:post appeals

Table of Contents
  • 01. Record field format
  • 02. Associated attributes
  • 03. Nomenclature
  • 04. Index
  • 05. Show
  • 06. Create
  • 07. See also
  • 08. External links

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

Record field format

NameTypeDetails
idinteger>0
post_idinteger>0
reasonstring
statusenumSee Status table for list of acceptable values.
creator_idinteger>0
created_attimestamp
updated_attimestamp
Status
ValueEnum
0pending
1succeeded
2rejected

Associated attributes

NameTypeNumberAvailabilityDetails
creatorusersinglerequiredUser that created the forum topic.
postpostsinglerequiredPost that the appeal belongs to.

Nomenclature

  • Plural form: "post appeals"
    • Used in the URL pathname
  • Singular form: "post appeal"
    • Used for write parameters (Help:API Write Requests)
  • Versions: none

Index

HTTP MethodGET
Base URL/post_appeals.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
    • created_at
    • updated_at
  • Text syntax
    • reason
  • Enum syntax
    • status
  • User syntax
    • creator
  • Post syntax
    • status
Special search parameters
  • reason_matches - Case-insensitive wildcard search on the reason field.
Search order

The search order can only be changed with the custom parameter.

Show

HTTP MethodGET
Base URL/post_appeals/$id.json
Typeread request
Description$id is the post appeal ID.

Create

HTTP MethodPOST
Base URL/post_appeals.json
Typewrite request
Create parameters
  • Required:
    • post_id
    • reason

See also

  • Help:Common URL Parameters
  • Help:API

External links

Controllerhttps://github.com/danbooru/danbooru/blob/master/app/controllers/post_appeals_controller.rb
Modelhttps://github.com/danbooru/danbooru/blob/master/app/models/post_appeal.rb
Policyhttps://github.com/danbooru/danbooru/blob/master/app/policies/post_appeal_policy.rb
Terms / Privacy / Upgrade / Contact /