Gets a session whose session id is provided in the path
get
/oam/services/rest/access/api/v1/session/{sessionId}
Gets a session by sessionId.
Request
Path Parameters
-
sessionId(required): string
sessionId for the session. This string value needs to be http encoded.
Response
Supported Media Types
- application/json
200 Response
SessionData Object is returned if session is found.
Root Schema : SessionData
Type:
Show Source
object
-
clientIp:
string
Client IP Address for the session.
-
createTime:
string(date-time)
Time at which session was created.
-
expiryTime:
string(date-time)
Expiry Time for the session.
-
idStoreName:
string
Session Identifier where user is located for this session.
-
isImpersonating:
boolean
Indicator if this is impersonating user session.
-
lastAccessTime:
string(date-time)
Last Access Time for session.
-
sessionId:
string
Session Identifier for querying the session.
-
sessionIndex:
string
Unique session identified generated by OAM session engine.
-
updateTime:
string(date-time)
Update Time for session.
-
userAttributes:
object UserAttributes
Additional Properties Allowed: NameValueAttributeCollection of Name Value pair attributes
-
userId(required):
string
User Id with which session is associated.
Nested Schema : UserAttributes
Type:
object
Additional Properties Allowed
Show Source
Collection of Name Value pair attributes
Show Source
Nested Schema : NameValueAttribute
Type:
Show Source
object
-
attrName:
string
Attribute Name
-
attrValue:
string
Attribute Value
401 Response
Unauthorized
404 Response
Users OAM Session not found
408 Response
Session that was being retrieved has timed out
500 Response
Internal Server Error