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: 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(optional):
string
Client IP Address for the session.
-
createTime(optional):
string(date-time)
Time at which session was created.
-
expiryTime(optional):
string(date-time)
Expiry Time for the session.
-
idStoreName(optional):
string
Session Identifier where user is located for this session.
-
isImpersonating(optional):
boolean
Indicator if this is impersonating user session.
-
lastAccessTime(optional):
string(date-time)
Last Access Time for session.
-
sessionId(optional):
string
Session Identifier for querying the session.
-
sessionIndex(optional):
string
Unique session identified generated by OAM session engine.
-
updateTime(optional):
string(date-time)
Update Time for session.
-
userAttributes(optional):
object UserAttributes
Additional Properties Allowed: NameValueAttributeCollection of Name Value pair attributes
-
userId:
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(optional):
string
Attribute Name
-
attrValue(optional):
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