diff --git a/_advanced_configuration.html b/_advanced_configuration.html index 352c88f7..ba1fb502 100644 --- a/_advanced_configuration.html +++ b/_advanced_configuration.html @@ -314,7 +314,7 @@

diff --git a/_check_login_with_whoami.html b/_check_login_with_whoami.html deleted file mode 100644 index 9274571b..00000000 --- a/_check_login_with_whoami.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - - - -OliveTin documentation - - - - - - -
-
-

Check login with WhoAmI

-
-

You can check your current login status by using the /WhoAmI API call. This is a GET request, and you need to provide the olivetin-sid-local cookie in the request. Here is an example of how you can check your login status via a cURL request;

-
-
-
-
user@host: curl -X GET http://localhost:1337/api/WhoAmI -H "accept: application/json" -H 'Content-Type: application/json' -b "olivetin-sid-local=cd33aa9c-c613-473e-8581-2b742716ab8e"
-{"authenticatedUser":"admin", "usergroup":"", "provider":"local", "acls":[], "sid":""}
-
-
-
- -
- - - \ No newline at end of file diff --git a/_debugging_configuration.html b/_debugging_configuration.html index d9c0c8d9..95851289 100644 --- a/_debugging_configuration.html +++ b/_debugging_configuration.html @@ -333,7 +333,7 @@

diff --git a/_example_dashboard_usage.html b/_example_dashboard_usage.html index 38c9e769..059feecf 100644 --- a/_example_dashboard_usage.html +++ b/_example_dashboard_usage.html @@ -307,7 +307,7 @@

diff --git a/_exit_code_127.html b/_exit_code_127.html index 7bc102e0..91fef836 100644 --- a/_exit_code_127.html +++ b/_exit_code_127.html @@ -302,7 +302,7 @@

diff --git a/_gpio_control_on_raspberry_pi.html b/_gpio_control_on_raspberry_pi.html index c8d75af2..ee351f0e 100644 --- a/_gpio_control_on_raspberry_pi.html +++ b/_gpio_control_on_raspberry_pi.html @@ -301,7 +301,7 @@

diff --git a/_important_safety_warning.html b/_important_safety_warning.html index 9f8cd967..f7308ed2 100644 --- a/_important_safety_warning.html +++ b/_important_safety_warning.html @@ -319,7 +319,7 @@

diff --git a/_integrations.html b/_integrations.html index 4030fda8..d928235f 100644 --- a/_integrations.html +++ b/_integrations.html @@ -291,7 +291,7 @@

diff --git a/_introduction_to_arguments.html b/_introduction_to_arguments.html index f2a99214..c150759c 100644 --- a/_introduction_to_arguments.html +++ b/_introduction_to_arguments.html @@ -322,7 +322,7 @@

diff --git a/_local_user_login_via_api.html b/_local_user_login_via_api.html index ea7a6b75..5e18bf53 100644 --- a/_local_user_login_via_api.html +++ b/_local_user_login_via_api.html @@ -391,8 +391,6 @@

OliveTin

  • Local User Login via API
  • -
  • Check login with WhoAmI -
  • @@ -425,14 +423,26 @@

    You can also that the body of the response is a JSON object with a simple success key, which will be true if the login was successful, and false if it was not.

    +
    +

    Check login with WhoAmI

    +
    +

    You can check your current login status by using the /WhoAmI API call. This is a GET request, and you need to provide the olivetin-sid-local cookie in the request. Here is an example of how you can check your login status via a cURL request;

    +
    +
    +
    +
    user@host: curl -X GET http://localhost:1337/api/WhoAmI -H "accept: application/json" -H 'Content-Type: application/json' -b "olivetin-sid-local=cd33aa9c-c613-473e-8581-2b742716ab8e"
    +{"authenticatedUser":"admin", "usergroup":"", "provider":"local", "acls":[], "sid":""}
    +
    +
    +
    diff --git a/_misc_api_calls.html b/_misc_api_calls.html index 73c01777..7688057a 100644 --- a/_misc_api_calls.html +++ b/_misc_api_calls.html @@ -273,8 +273,6 @@

    OliveTin

  • Local User Login via API
  • -
  • Check login with WhoAmI -
  • @@ -315,7 +313,7 @@

    diff --git a/_miscellaneous_configuration.html b/_miscellaneous_configuration.html index 2b5af1ac..45d08e1e 100644 --- a/_miscellaneous_configuration.html +++ b/_miscellaneous_configuration.html @@ -340,7 +340,7 @@

    diff --git a/_networking_configuration.html b/_networking_configuration.html index afd7664a..db01474d 100644 --- a/_networking_configuration.html +++ b/_networking_configuration.html @@ -361,7 +361,7 @@

    diff --git a/_olivetin_api_overview.html b/_olivetin_api_overview.html index fe2db5a2..3458aaca 100644 --- a/_olivetin_api_overview.html +++ b/_olivetin_api_overview.html @@ -273,8 +273,6 @@

    OliveTin

  • Local User Login via API
  • -
  • Check login with WhoAmI -
  • @@ -324,7 +322,7 @@