mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Recommend X-Modhash usage in the API docs.
This commit is contained in:
@@ -815,7 +815,7 @@ class VModhash(Validator):
|
||||
|
||||
def param_docs(self):
|
||||
return {
|
||||
self.param: 'a [modhash](#modhashes)',
|
||||
'%s / X-Modhash header' % self.param: 'a [modhash](#modhashes)',
|
||||
}
|
||||
|
||||
class VVotehash(Validator):
|
||||
|
||||
@@ -140,6 +140,9 @@
|
||||
or in the <code>Listing</code> structures of several other API
|
||||
calls.</p>
|
||||
|
||||
<p>The preferred way to send a modhash is to include an
|
||||
 <code>X-Modhash</code> custom HTTP header with your requests.</p>
|
||||
|
||||
<h3 id="fullnames">fullnames</h3>
|
||||
|
||||
<p>A fullname is a combination of a thing's type
|
||||
|
||||
Reference in New Issue
Block a user