api:wiki_page_versions
Table of Contents
* 1. "Record field format":#dtext-record* 2. "Associated attributes":#dtext-associations
* 3. "Nomenclature":#dtext-nomenclature
* 4. "Index":#dtext-index
* 5. "See also":#dtext-see-also
* 6. "External links":#dtext-external-links
The following includes the details of how to interface with the wiki page version records through the API.
h4#record. Record field format
[table]
[thead]
[tr]
[th]Name[/th]
[th]Type[/th]
[th]Details[/th]
[/tr]
[/thead]
[tbody]
[tr]
[td]
id[/td][td]integer[/td]
[td]>0[/td]
[/tr]
[tr]
[td]
wiki_page_id[/td][td]integer[/td]
[td]>0[/td]
[/tr]
[tr]
[td]
title[/td][td]string[/td]
[td]tag format[/td]
[/tr]
[tr]
[td]
body[/td][td]string[/td]
[td][/td]
[/tr]
[tr]
[td]
other_names[/td][td]array[/td]
[td]string[/td]
[/tr]
[tr]
[td]
is_locked[/td][td]boolean[/td]
[td][/td]
[/tr]
[tr]
[td]
is_deleted[/td][td]boolean[/td]
[td][/td]
[/tr]
[tr]
[td]
updater_id[/td][td]integer[/td]
[td]>0[/td]
[/tr]
[tr]
[td]
created_at[/td][td]timestamp[/td]
[td][/td]
[/tr]
[tr]
[td]
updated_at[/td][td]timestamp[/td]
[td][/td]
[/tr]
[tr]
[td]
updater_addr_ip[/td][td]inet[/td]
[td]Limited to Moderator+[/td]
[/tr]
[/tbody]
[/table]
h4#associations. Associated attributes
[table]
[thead]
[tr]
[th]Name[/th]
[th]Type[/th]
[th]Number[/th]
[th]Availability[/th]
[th]Details[/th]
[/tr]
[/thead]
[tbody]
[tr]
[td]
wiki_page[/td][td]wiki page[/td]
[td]single[/td]
[td]required[/td]
[td][/td]
[/tr]
[tr]
[td]
updater[/td][td]user[/td]
[td]single[/td]
[td]required[/td]
[td][/td]
[/tr]
[tr]
[td]
artist[/td][td]artist[/td]
[td]single[/td]
[td]optional[/td]
[td][/td]
[/tr]
[tr]
[td]
tag[/td][td]tag[/td]
[td]single[/td]
[td]optional[/td]
[td][/td]
[/tr]
[/tbody]
[/table]
h4#nomenclature. Nomenclature
* Plural form: "wiki_page_versions"
** Used in the URL pathname
* Singular form: "wiki_page_version"
** Unused
* Version of: API:Wiki pages
h4#index. Index
[table]
[tbody]
[tr]
[td]HTTP Method[/td]
[td]GET[/td]
[/tr]
[tr]
[td]Base URL[/td]
[td]
/wiki_page_versions.json[/td][/tr]
[tr]
[td]Type[/td]
[td]read request[/td]
[/tr]
[tr]
[td]Description[/td]
[td]The default order is ID descending.[/td]
[/tr]
[/tbody]
[/table]
h6#search-attributes. Search attributes
All of the following are standard attributes with all of their available formats and qualifiers.
* Number syntax
**
id**
updated_at* Text syntax
**
title**
body* Boolean syntax
**
is_locked**
is_deleted* Array syntax
**
other_names* User syntax
**
updater* Chaining syntax
**
wiki_page**
artist**
tag
h6#special-search-parameters. Special search parameters
*
title_matches - Case-insensitive normalized wildcard search on the title field.*
body_matches - Case-insensitive normalized wildcard search on the body field.
h4#see-also. See also
* Help:Common URL Parameters
* Help:API
h4#external-links. External links
[table]
[tbody]
[tr]
[td]Controller[/td]
[td]
[td][/td]
[/tr]
[tr]
[td]Model[/td]
[td]
[/tr]
[tr]
[td]Policy[/td]
[td]
[/tr]
[/tbody]
[/table]