add header ref to the validation page

themes
Blake DeMarcy 2017-09-03 00:27:45 -05:00
parent 00f959d664
commit dfbdeed79c
5 changed files with 8 additions and 3 deletions

View File

@ -361,6 +361,8 @@ value, the message will never recieve special formatting.
See also [the Input Validation page](validation.md).
Requires the arguments `key` and `value`. Returns an object
with information about the database sanity criteria for
key. This can be used to validate user input in the client

View File

@ -431,6 +431,7 @@ value, the message will never recieve special formatting.</p>
<p><strong>OPTIONAL: error</strong>: boolean: when <code>true</code>, will return an API error response instead of a special object.</p>
</li>
</ul>
<p>See also <a href="../validation/">the Input Validation page</a>.</p>
<p>Requires the arguments <code>key</code> and <code>value</code>. Returns an object
with information about the database sanity criteria for
key. This can be used to validate user input in the client

View File

@ -149,5 +149,5 @@ It is fully documented on this site (though the verbage is still being revised f
<!--
MkDocs version : 0.16.3
Build Date UTC : 2017-09-03 05:07:47
Build Date UTC : 2017-09-03 05:27:34
-->

File diff suppressed because one or more lines are too long

View File

@ -601,6 +601,8 @@ class API(object):
@api_method
def db_validate(self, args, database, user, **kwargs):
"""
See also [the Input Validation page](validation.md).
Requires the arguments `key` and `value`. Returns an object
with information about the database sanity criteria for
key. This can be used to validate user input in the client