Haivision Media Platform

Get Session Information

Gets information about the specified session.

Authorizations: Sessions - VIEW

Requests

GET /apis/sessions/:sessionId

Response

Success

{
 "data": {
   "title": "ABC",
   "description": "UDP",
   "ctime": 1393533035,
   "mtime": 1398875839,
   "duration": 0,
   "active": false,
   "syncrecord": true,
   "id": "2f8dce6d-fd8b-459e-890f-97965c88df40",
   "movieTrackCount": 1,
   "sources": [
     "f4327f7b-3917-4533-b844-8818741cb0bd"
   ],
   "recording": false
 }
}

Error

Code

Payload

 Description

403

{"code":"040006", "name":"SessionHidden",
"message":"Session hidden", "httpStatusCode":403}

Session is hidden and requester does not own the session.

404

{"code":"040006", "name":"SessionNotFound",
"message":"Session not found", "httpStatusCode":404}

Session with UUID sessionId not found.