From a73e355efd1fac251ad9f13a5da5f345874a4853 Mon Sep 17 00:00:00 2001 From: jamesread Date: Wed, 19 Feb 2025 00:53:13 +0000 Subject: [PATCH] deploy: 2203eb3f6839e60db4af68b321bf3a2fb431b63c --- _advanced_configuration.html | 2 +- _check_login_with_whoami.html | 424 ---------------------------- _debugging_configuration.html | 2 +- _example_dashboard_usage.html | 2 +- _exit_code_127.html | 2 +- _gpio_control_on_raspberry_pi.html | 2 +- _important_safety_warning.html | 2 +- _integrations.html | 2 +- _introduction_to_arguments.html | 2 +- _local_user_login_via_api.html | 18 +- _misc_api_calls.html | 4 +- _miscellaneous_configuration.html | 2 +- _networking_configuration.html | 2 +- _olivetin_api_overview.html | 4 +- _primitive_password_protection.html | 2 +- _reference.html | 2 +- _run_as_different_users.html | 2 +- _security.html | 2 +- _security_configuration.html | 2 +- _the_actions_section.html | 2 +- _ui_customization.html | 2 +- _understanding_exit_codes.html | 2 +- acls.html | 2 +- action-container-control.html | 2 +- action-customisation.html | 2 +- action-ids.html | 2 +- action-ping.html | 2 +- action-service.html | 2 +- action-ssh-easy.html | 2 +- action-ssh.html | 2 +- actions.html | 2 +- advanced-troubleshooting.html | 2 +- after-completion.html | 2 +- ansible-playbook.html | 2 +- apache-dns.html | 2 +- api-start-action.html | 4 +- api.html | 7 +- arg-datetime.html | 2 +- arg-dropdowns.html | 2 +- arg-suggestions.html | 2 +- arg-textbox.html | 2 +- arg-types.html | 2 +- args-custom-regex.html | 2 +- args.html | 2 +- auth-concepts.html | 2 +- auth.html | 2 +- caddy-dns.html | 2 +- choose-package.html | 2 +- cloudflare-access-tunnels.html | 2 +- concurrency.html | 2 +- config-list.html | 2 +- config.html | 2 +- confirmation.html | 2 +- container-control-panel.html | 2 +- container-dnf.html | 2 +- contribute.html | 2 +- create-your-first-action.html | 2 +- customize-webui.html | 2 +- dashboard-css.html | 2 +- dashboards.html | 2 +- directory-actions.html | 2 +- displays.html | 2 +- donations-and-sponsorship.html | 2 +- entities-json.html | 2 +- entities-yaml.html | 2 +- entities.html | 2 +- entity-examples.html | 2 +- env-vars.html | 2 +- err-fetch-buttons.html | 2 +- err-fetch-webui-settings.html | 2 +- err-js-modules-not-supported.html | 2 +- err-websocket-connection.html | 2 +- example-login-required.html | 2 +- examples.html | 2 +- exec-cron.html | 2 +- exec-file-changed.html | 2 +- exec-file-created.html | 2 +- exec-on-calendar.html | 2 +- exec-on-demand.html | 2 +- exec-startup.html | 2 +- exec-webhook.html | 2 +- fieldsets.html | 2 +- folders.html | 2 +- haproxy-dns.html | 2 +- hass.html | 2 +- heating-control-panel.html | 2 +- icons.html | 2 +- index.html | 2 +- install-alpine.html | 2 +- install-archbtw.html | 2 +- install-compose.html | 2 +- install-container-vs-service.html | 2 +- install-container.html | 2 +- install-fedora.html | 2 +- install-helm.html | 2 +- install-k8s.html | 2 +- install-linuxpackage.html | 2 +- install-manjaro.html | 2 +- install-targz.html | 2 +- installation.html | 2 +- jwt-hmac.html | 2 +- jwt-keys.html | 2 +- jwt.html | 2 +- local-users.html | 2 +- log-levels.html | 2 +- multi-inst.html | 2 +- network-ports.html | 2 +- nginx-dns.html | 2 +- nginx-proxy-manager.html | 2 +- no-puid-pgid.html | 2 +- oauth2-authentik.html | 2 +- oauth2.html | 2 +- output-views.html | 2 +- popup-on-start.html | 2 +- ports.html | 2 +- powershell.html | 2 +- prometheus.html | 2 +- proxy-guide.html | 2 +- ratelimits.html | 2 +- reverse-proxies.html | 2 +- save-logs.html | 2 +- snapsnots.html | 2 +- solution-on-git-push.html | 2 +- solutions.html | 2 +- sosreport.html | 2 +- support.html | 2 +- systemd-control-panel.html | 2 +- themes-dev.html | 2 +- themes.html | 2 +- timeout.html | 2 +- timezone.html | 2 +- traefik-docker-compose.html | 2 +- triggers.html | 2 +- troubleshooting.html | 2 +- trusted-header.html | 2 +- update-checks.html | 2 +- update-tracking.html | 2 +- upgrade-notes.html | 2 +- wol.html | 2 +- 139 files changed, 151 insertions(+), 576 deletions(-) delete mode 100644 _check_login_with_whoami.html 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 @@