Edit
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
Name | Type | Details |
---|---|---|
id | integer | >0 |
antecedent_name | string | |
consequent_name | string | |
status | string | includes [active, deleted, retired] |
reason | string | unused |
forum_topic_id | integer | >0 or null |
forum_post_id | integer | >0 or null |
creator_id | integer | >0 |
approver_id | integer | >0 or null |
created_at | timestamp | |
updated_at | timestamp |
Associated attributes
Name | Type | Number | Availability | Details |
---|---|---|---|---|
creator | user | single | required | User that created the implication. |
approver | user | single | optional | User that approved the implication. |
forum_topic | forum topic | single | optional | Forum topic where the implication was discussed. |
forum_post | forum post | single | optional | Forum post which started the implication discussion. |
antecedent_tag | tag | single | required | Tag of the antecedent. |
consequent_tag | tag | single | required | Tag of the consequent. |
antecedent_wiki | wiki page | single | optional | Wiki page of the antecedent. |
consequent_wiki | wiki page | single | optional | Wiki 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 Method | GET or POST* |
Base URL | /tag_implications.json |
Type | read request |
Description | The default order is ID descending. * Accepts POST under certain circumstances. See Help:API read requests. |
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 Method | GET or POST* |
Base URL | /tag_implications/$id.json |
Type | read request |
Description | $id is the forum post ID.* Accepts POST under certain circumstances. See Help:API read requests. |
Delete
HTTP Method | DELETE |
Base URL | /tag_implications/$id.json |
Type | write request |
Description | $id is the forum post ID.Restricted to Admin+. |
See also
External links
No posts found.
1