Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
API Call

...

- /auth/login/admin/{user}/{pass}
Info

Authenticates a session for the current admin/environment.  This will return a cookie that is active for 15m from last action and gives access to admin API calls.

Authentication

Not required (this call gives auth)

...

user
username required to login, usually in the format of bob@ikanow.com
pass
password required to login, encrypted with SHA-256

Example

[http://ikanowserver<SERVER-NAME>/api/auth/login/admin/bob@ikanow.com/abcde12345|http://ikanowserver/api/auth/login/bob@ikanow.com/abcde12345] h5.

Example Response
Info

Code Block

{

    "response": {

        "action": "Login",

        "success": true,

        "time": 0

    }

{color:#000000}}

Code Block




h5. Error Response