updated api documentation
This commit is contained in:
parent
32ef07f655
commit
acf89d59f0
@ -700,6 +700,14 @@
|
|||||||
"newPW" : {
|
"newPW" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"example" : "this is an example new password"
|
"example" : "this is an example new password"
|
||||||
|
},
|
||||||
|
"user" : {
|
||||||
|
"type" : "string",
|
||||||
|
"example" : "TestUser123"
|
||||||
|
},
|
||||||
|
"pass" : {
|
||||||
|
"type" : "string",
|
||||||
|
"example" : "Password_Of_TestUser123"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -710,6 +718,14 @@
|
|||||||
"message" : {
|
"message" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"example" : "this posting api is cool"
|
"example" : "this posting api is cool"
|
||||||
|
},
|
||||||
|
"user" : {
|
||||||
|
"type" : "string",
|
||||||
|
"example" : "TestUser123"
|
||||||
|
},
|
||||||
|
"pass" : {
|
||||||
|
"type" : "string",
|
||||||
|
"example" : "Password_Of_TestUser123"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -720,6 +736,14 @@
|
|||||||
"Bio" : {
|
"Bio" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"example" : "this bio api is cool"
|
"example" : "this bio api is cool"
|
||||||
|
},
|
||||||
|
"user" : {
|
||||||
|
"type" : "string",
|
||||||
|
"example" : "TestUser123"
|
||||||
|
},
|
||||||
|
"pass" : {
|
||||||
|
"type" : "string",
|
||||||
|
"example" : "Password_Of_TestUser123"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -897,7 +921,7 @@
|
|||||||
<div class="pull-right"></div>
|
<div class="pull-right"></div>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p class="marked">sets the pw of the currently logged in user (identified via cookie)
|
<p class="marked">sets the pw of the current user
|
||||||
also sets the AUTH_COOKIE cookie to the new one
|
also sets the AUTH_COOKIE cookie to the new one
|
||||||
</p>
|
</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
@ -2286,6 +2310,7 @@ except ApiException as e:
|
|||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p class="marked">posts a message on the public chat
|
<p class="marked">posts a message on the public chat
|
||||||
|
has to be logged in either by cookie or given user and password
|
||||||
</p>
|
</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<br />
|
<br />
|
||||||
@ -3165,7 +3190,7 @@ except ApiException as e:
|
|||||||
<div class="pull-right"></div>
|
<div class="pull-right"></div>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p class="marked">sets the bio of the currently logged in user (identified via cookie)</p>
|
<p class="marked">sets the bio of the currently logged in user (identified via cookie, or given user+password)</p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<br />
|
<br />
|
||||||
<pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/api/setBio</span></code></pre>
|
<pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/api/setBio</span></code></pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user