Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
/auth/login/admin/{user}/{pass}
Info

Authenticates a session for the current admin/environment. It is not necessary to use this call to authorize access to the standard data please use Auth - Login for all not administration access.  This will return a cookie that is active for 30m from last action and gives access to admin API callsLike a standard Auth - Login, except fails if the user is not a system administrator (ie this checks and logs in as admin in one go). Note that admin users can still login using the normal command also and have full admin privileges in both cases.

Authentication

Not required (this call gives auth)

Arguments

user (required)
username required to login, usually in the format of bob@ikanow.com

pass (required)
password required to login, "encrypted" with SHA-256 (Base-64), URL-encoded.

Example

http://infinite.ikanow.com/api/auth/login/admin/bob@ikanow.com/abcde12345pFyrA89j8fR5BJjekoKdGD%2Bb83hV3sj48H4wAu3DR6c%3D

Example Response
Info
Code Block

{
    "response": {
        "action": "Login",
        "success": true,
        "time": 0
    }
}

...