diff --git a/views/api/documentation/index.html b/views/api/documentation/index.html index c47b476..b8c5d0d 100644 --- a/views/api/documentation/index.html +++ b/views/api/documentation/index.html @@ -700,6 +700,14 @@ "newPW" : { "type" : "string", "example" : "this is an example new password" + }, + "user" : { + "type" : "string", + "example" : "TestUser123" + }, + "pass" : { + "type" : "string", + "example" : "Password_Of_TestUser123" } } }; @@ -710,6 +718,14 @@ "message" : { "type" : "string", "example" : "this posting api is cool" + }, + "user" : { + "type" : "string", + "example" : "TestUser123" + }, + "pass" : { + "type" : "string", + "example" : "Password_Of_TestUser123" } } }; @@ -720,6 +736,14 @@ "Bio" : { "type" : "string", "example" : "this bio api is cool" + }, + "user" : { + "type" : "string", + "example" : "TestUser123" + }, + "pass" : { + "type" : "string", + "example" : "Password_Of_TestUser123" } } }; @@ -897,7 +921,7 @@
-sets the pw of the currently logged in user (identified via cookie) +
sets the pw of the current user also sets the AUTH_COOKIE cookie to the new one
@@ -2286,6 +2310,7 @@ except ApiException as e:posts a message on the public chat +has to be logged in either by cookie or given user and password
sets the bio of the currently logged in user (identified via cookie)
+sets the bio of the currently logged in user (identified via cookie, or given user+password)
/api/setBio