Auth

Log in into session

Parameters login and password can be passed in a JSON encoded body or as POST parameters (application/x-www-form-urlencoded).

post/api/component/auth/login

Request

  • Base URL: https://demo.nextgis.ru (the document declares no server; this is the origin it was published from)
  • URL: https://demo.nextgis.ru/api/component/auth/login
  • Auth: none declared

Response

Session created, returns user info and session token

idinteger required

User ID

keynamestring required

User name (login)

display_namestring required

Display name (full name)

home_urlstring

Example response

{
  "id": 4,
  "keyname": "administrator"
}

Changes

No recorded changes to this operation across all 1 revision of this API.