session:start | |||||
---|---|---|---|---|---|
Description: | |||||
Start a session with Kaltura's server. The result KS is the session key that you should pass to all services that requires a ticket. |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
secret | string | Remember to provide the correct secret according to the sessionType you want | V | ||
userId | string | ||||
type | KalturaSessionType | Regular session or Admin session | KalturaSessionType::USER | ||
partnerId | int | ||||
expiry | int | KS expiry time in seconds | 86400 | ||
privileges | string | ||||
Output Type | |||||
string | |||||
Errors | |||||
START_SESSION_ERROR;PID;Error while starting session for partner [@PID@] | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=session&action=start POST fields: secret userId type partnerId expiry privileges |