diff options
author | Yorhel <git@yorhel.nl> | 2013-01-04 20:18:45 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2013-01-04 20:18:45 +0100 |
commit | 9b2aff951b1dacb73479de82196a29b2af1c36d1 (patch) | |
tree | a641772985e725e9761e8915a309414ca5f632fa /data/docs/14 | |
parent | c362e3656e1eb4700cbe0504499ad71840dd940f (diff) |
d11/d14: Added documentation for the tags dump
Diffstat (limited to 'data/docs/14')
-rw-r--r-- | data/docs/14 | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/data/docs/14 b/data/docs/14 new file mode 100644 index 00000000..228db262 --- /dev/null +++ b/data/docs/14 @@ -0,0 +1,85 @@ +:TITLE:Database Dumps +:INC:index + +:SUB:Introduction +<p> + This page lists and documents any provided database dumps. These dumps are + complimentary to the <a href="/d11">real-time API</a>, and the disclaimers + that apply to the API apply here, too. +</p> + + +:SUB:Tags +<p> + <b>URL:</b> <a href="http://s.vndb.org/api/tags.json.gz">http://s.vndb.org/api/tags.json.gz</a><br /> + <b>Updated:</b> Every 24 hours.<br /> + <b>Size:</b> ~150 KiB compressed, ~520 KiB uncompressed.<br /> + This dump includes information about all (approved) VN tags in the JSON + format. The top-level type is an array of tags, and each tag is represented as + an object with the following members: +</p> +<table style="margin: 5px 2%; width: 95%"> + <thead><tr> + <td style="width: 80px">Member</td> + <td style="width: 50px">Flag</td> + <td style="width: 90px">Type</td> + <td style="width: 40px">null</td> + <td>Description</td> + </tr></thead> + <tr class="odd"> + <td>id</td> + <td>-</td> + <td>integer</td> + <td>no</td> + <td>Tag ID</td> + </tr> + <tr> + <td>name</td> + <td>basic</td> + <td>string</td> + <td>no</td> + <td>Tag name</td> + </tr> + <tr class="odd"> + <td>description</td> + <td>basic</td> + <td>string</td> + <td>no</td> + <td>Can include formatting codes as described in <a href="/d9.3">d9.3</a>.</td> + </tr> + <tr> + <td>meta</td> + <td>basic</td> + <td>bool</td> + <td>no</td> + <td>Whether this is a meta tag or not.</td> + </tr> + <tr class="odd"> + <td>vns</td> + <td>basic</td> + <td>integer</td> + <td>no</td> + <td>Number of tagged VNs (including child tags)</td> + </tr> + <tr> + <td>cat</td> + <td>basic</td> + <td>string</td> + <td>no</td> + <td>Tag category/classification: "cont" for content, "ero" for sexual stuff, and "tech" for technical details.</td> + </tr> + <tr class="odd"> + <td>aliases</td> + <td>basic</td> + <td>array of strings</td> + <td>no</td> + <td>(Possibly empty) list of alternative names.</td> + </tr> + <tr> + <td>parents</td> + <td>basic</td> + <td>array of integers</td> + <td>no</td> + <td>List of parent tags (empty for root tags).</td> + </tr> +</table> |