apptoken.startSession | ||||
---|---|---|---|---|
Description: | ||||
Starts a new KS (kaltura Session) based on application authentication token id | ||||
Input Params | ||||
Name | Type | Description | Required | Default Value |
id | string | application token id | V | |
tokenHash | string | hashed token, built of sha1 on current KS concatenated with the application token | V | |
userId | string | session user id, will be ignored if a different user id already defined on the application token | 1 | |
type | KalturaSessionType | session type, will be ignored if a different session type already defined on the application token | 1 | |
expiry | int | session expiry (in seconds), could be overwritten by shorter expiry of the application token and the session-expiry that defined on the application token | 1 | |
Output Type | ||||
KalturaSessionInfo | ||||
Example HTTP Hit | ||||
http://www.kaltura.com/api_v3/service/apptoken/action/startSession JSON object:
|