Skip to main content

Create a Session

Creates a session.

Authorizations: Sessions - CREATE

Requests

POST /apis/sessions
{
"title": "InfoDevSource",
"description": "UDP",
"syncrecord": true
}

Response

Success

{
"data": {
"title": "InfoDevSource",
"description": "UDP",
"ctime": 1398981914,
"mtime": 1398981914,
"duration": 0,
"active": false,
"syncrecord": true,
"id": "3a655931-24b4-4d3d-a897-6e58d361786a",
"movieTrackCount": 0,
"sources": [],
"recording": false
}
}

Error

Code

Payload

 Description

400
{"code":"010001", "name":"InputValidation",
"message":<Error message>, "httpStatusCode":400}

Supplied data was insufficient or incorrect.

500
{"code":"070019", "name":"CreateSession",
"message":"Failed to create a session",
"httpStatusCode":500}

Creating the session failed. Please see calypso.log for details.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.