API Model

Session Model Map

Session Model Map

It's a map where the key is a session-id and the data is a Session Model Descriptor Represents the list of the sessions.

Example

{  
   "f7fe2b80-88c2-4398-a5fc-1a112346da9d":{ ... },
   "daslq80w-alo2-0971-as4n-22098lklkjmw":{ ... },
}

Session Model Description

Field Type Mandatory Meaning
uuid string yes
id string yes session id == auth-token
username string yes user associated to the session
consultationIds array of strings yes list of consultation ids linked to the session
email string yes user's email
roles array of string yes list of user's roles

userAttributes

array of string yes list of the user attributes mapped in the security manager

Example

{  
   "f7fe2b80-88c2-4398-a5fc-1a112346da9d":{  
      "id":"f7fe2b80-88c2-4398-a5fc-1a112346da9d",
      "username":"admin",
      "email":"noreply@knowledge-values.com",
      "roles":[  
         "MWP_ADMIN",
         "USER"
      ],
      "userAttributes":{ },
      "uuid":"f5678c9a-8c70-4535-89fa-84b7ddf46cef",
      "consultationIds":[ ]
   }
}