From e064c4a56bb1938de84a0e19320efb0289cd7c1a Mon Sep 17 00:00:00 2001 From: Drew Short Date: Mon, 7 Oct 2019 22:37:41 -0500 Subject: [PATCH] Adding missing header metadata --- server/documentation/api/authentication.rst | 4 ++-- server/documentation/api/user.rst | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/server/documentation/api/authentication.rst b/server/documentation/api/authentication.rst index ab9a15d..d61fe88 100644 --- a/server/documentation/api/authentication.rst +++ b/server/documentation/api/authentication.rst @@ -66,7 +66,7 @@ Authentication API } :
header Content-Type: Depends on :mailheader:`Accept` header of request :>json datetime lastLoginTime: Updated lastLoginTime for the user :statuscode 200: User last_login_time successfully bumped @@ -98,7 +98,7 @@ Authentication API } :
header Content-Type: Depends on :mailheader:`Accept` header of request :>json boolean success: Whether the logout was successful :statuscode 200: User successfully logged out diff --git a/server/documentation/api/user.rst b/server/documentation/api/user.rst index b6a1a87..5faac54 100644 --- a/server/documentation/api/user.rst +++ b/server/documentation/api/user.rst @@ -41,7 +41,7 @@ User API :query int page: User page to retrieve :query int perPage: Number of records to retrieve per page (max 100) :
header Content-Type: Depends on :mailheader:`Accept` header of request :>json int page: Page retrieved :>json int count: Number of items returned @@ -85,7 +85,7 @@ User API :param string user_name: Name of the user to retrieve information about :
header Content-Type: Depends on :mailheader:`Accept` header of request :>json datetime creationTime: Creation time for the user :>json datetime lastLoginTime: When the user last logged in, or was last bumped @@ -133,7 +133,7 @@ User API :param string user_name: Name of the user to update :
header Content-Type: Depends on :mailheader:`Accept` header of request :>json string message: Success or failure message :>json boolean success: Action status indicator