Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Current »

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

Like 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/pFyrA89j8fR5BJjekoKdGD%2Bb83hV3sj48H4wAu3DR6c%3D

Example Response
{
    "response": {
        "action": "Login",
        "success": true,
        "time": 0
    }
}
  • No labels