Create a session
Creates a new session and returns session information.
1{2 "authenticationType": "string",3 "id": "string",4 "locale": "string",5 "name": "string",6 "nodeCount": 0,7 "owner": "string",8 "state": "string",9 "timeOut": 010}
Name | Type | Required | Description |
---|---|---|---|
serverName | string | true | Server name in which the session is to be created. |
Information about a CAS session.
Name | Type | Required | Description |
---|---|---|---|
authenticationType | string | true | The type of authentication used by the session. Valid values include OAuth, Windows, SSPI, External, PAM, Kerberos. |
id | string | true | ID of the session. |
locale | string | false | The locale of the session. If creating a new session, defaults to the locale of the Accept-Language header passed to the request. Sample values include en-us (US English), zh-cn (Chinese Simplified), ko-kr (Korean). |
name | string | false | Name of the session. If not specified, defaults to casManagement. |
nodeCount | integer | false | Number of nodes the session will use in the grid. |
owner | string | true | Owner of the session. |
state | string | true | Connected state of the session. Valid values include Inactive, Connected, Disconnected, Exception, Terminate, Removed. |
timeOut | integer | false | Number of seconds after the last connection to the session is closed before session is terminated. |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | Information about the created session was returned. | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The requested CAS server does not exist. | ||
409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. Details are included in the response body. |