ScrollX Tag Page

Api:Tag Implications

0 sourcesWiki updated 3/4/2026
Browse all Api:Tag Implications images →

About Api:Tag Implications

Table of Contents

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

Record field format

NameTypeDetails
[code]id[/code]integer>0
[code]antecedent_name[/code]string
[code]consequent_name[/code]string
[code]status[/code]stringincludes [active, deleted, retired]
[code]reason[/code]stringunused
[code]forum_topic_id[/code]integer>0 or null
[code]forum_post_id[/code]integer>0 or null
[code]creator_id[/code]integer>0
[code]approver_id[/code]integer>0 or null
[code]created_at[/code]timestamp
[code]updated_at[/code]timestamp

Associated attributes

NameTypeNumberAvailabilityDetails
[code]creator[/code]usersinglerequiredUser that created the implication.
[code]approver[/code]usersingleoptionalUser that approved the implication.
[code]forum_topic[/code]forum topicsingleoptionalForum topic where the implication was discussed.
[code]forum_post[/code]forum postsingleoptionalForum post which started the implication discussion.
[code]antecedent_tag[/code]tagsinglerequiredTag of the antecedent.
[code]consequent_tag[/code]tagsinglerequiredTag of the consequent.
[code]antecedent_wiki[/code]wiki pagesingleoptionalWiki page of the antecedent.
[code]consequent_wiki[/code]wiki 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[code]/tag_implications.json[/code]
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.

Special search parameters

  • [code]name_matches[/code] - Case-insensitive wildcard search on the antecedent name or consequent name fields.
  • [code]status[/code] - Case-insensitive search on the status field.
  • [code]category[/code] - Searches on the category of the consequent tag, with support for multiple categories being space-delimited.
  • [code]implied_from[/code] - List of tag implication ancestors of the antecedent tag.
  • [code]implied_to[/code] - List of tag implication descendants of the consequent tag.

Search order

Using the search parameter [code]order[/code] with one of the following values changes the order of the results.

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

Show

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

Delete

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

See also

Controller<https://github.com/danbooru/danbooru/blob/master/app/controllers/tag_implications_controller.rb>
Model<https://github.com/danbooru/danbooru/blob/master/app/models/tag_relationship.rb> <https://github.com/danbooru/danbooru/blob/master/app/models/tag_implication.rb>
Policy<https://github.com/danbooru/danbooru/blob/master/app/policies/tag_implication_policy.rb>

Api:Tag Implications Gallery

0 visible posts on page 1