Danbooru
Login Posts Comments Notes Artists Tags Pools Wiki Forum More ยป
Search Changes Help
  • |
  • Posts (0) History

    Blacklisted (help)

    • guro
    • scat
    • furry -rating:g
    Disable all Re-enable all

    Recent Changes (all)

    • seliph (fire emblem)
    • uchida mayuri
    • sakuragawa megu
    • udagawa ako
    • unlikely accident
    • toyama asuka
    • kurata mashiro
    • asahi rokka
    • sensei haruki suetsugu (style)
    • tanaka (precure)
    • bieko (disgaea)
    • list of azur lane characters
    • emily orange
    • aoi misa
    • kohara riko
    • miyashita hiroki
    • ninkyou tensei
    • iguchi yuka
    • kirigaya toko
    • amo aster
    • ranpha (summer) (princess connect!)
    • ranpha (princess connect!)
    • vsk-94 (girls' frontline)
    • lyrael (princess connect!)
    • lyrael (real) (princess connect!)

    Options

    • Wiki History
    • Discussions
    • What Links Here

    api:tag implications

    Table of Contents
    • 1. Record field format
    • 2. Associated attributes
    • 3. Nomenclature
    • 4. Index
    • 5. Show
    • 6. Delete
    • 7. See also
    • 8. External links

    The following includes the details of how to interface with the tag implication records through the API.

    Record field format

    NameTypeDetails
    idinteger>0
    antecedent_namestring
    consequent_namestring
    statusstringincludes [active, deleted, retired]
    reasonstringunused
    forum_topic_idinteger>0 or null
    forum_post_idinteger>0 or null
    creator_idinteger>0
    approver_idinteger>0 or null
    created_attimestamp
    updated_attimestamp

    Associated attributes

    NameTypeNumberAvailabilityDetails
    creatorusersinglerequiredUser that created the implication.
    approverusersingleoptionalUser that approved the implication.
    forum_topicforum topicsingleoptionalForum topic where the implication was discussed.
    forum_postforum postsingleoptionalForum post which started the implication discussion.
    antecedent_tagtagsinglerequiredTag of the antecedent.
    consequent_tagtagsinglerequiredTag of the consequent.
    antecedent_wikiwiki pagesingleoptionalWiki page of the antecedent.
    consequent_wikiwiki pagesingleoptionalWiki page of the consequent.

    Nomenclature

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

    Index

    HTTP MethodGET
    Base URL/tag_implications.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
      • created_at
      • updated_at
    • Text syntax
      • antecedent_name
      • consequent_name
    • User syntax
      • creator
      • approver
    • Chaining syntax
    • forum_topic
    • forum_post
    Special search parameters
    • name_matches - Case-insensitive wildcard search on the antecedent name or consequent name fields.
    • status - Case-insensitive search on the status field.
    • category - Searches on the category of the consequent tag, with support for multiple categories being space-delimited.
    • implied_from - List of tag implication ancestors of the antecedent tag.
    • implied_to - List of tag implication descendants of the consequent tag.
    Search order

    Using the search parameter order with one of the following values changes the order of the results.

    • created_at - Orders by created_at descending.
    • updated_at - Orders by updated_at descending.
    • name - Alphabetical order on the antecedent, then alphabetical order on the consequent.
    • tag_count - Orders by post count of the consequent tag, then alphabetical order on the antecedent, then alphabetical order on the consequent.
    • custom - See here for more info.

    Show

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

    Delete

    HTTP MethodDELETE
    Base URL/tag_implications/$id.json
    Typewrite request
    Description$id is the forum post ID.
    Restricted to Admin+.

    See also

    • Help:Common URL Parameters
    • Help:API

    External links

    Controllerhttps://github.com/danbooru/danbooru/blob/master/app/controllers/tag_implications_controller.rb
    Modelhttps://github.com/danbooru/danbooru/blob/master/app/models/tag_relationship.rb
    https://github.com/danbooru/danbooru/blob/master/app/models/tag_implication.rb
    Policyhttps://github.com/danbooru/danbooru/blob/master/app/policies/tag_implication_policy.rb
    Terms / Privacy / Upgrade / Contact /