session:impersonatebyks | ||||
---|---|---|---|---|
Description: | ||||
Start an impersonated session with Kaltura's server. The result KS info contains the session key that you should pass to all services that requires a ticket. Type, expiry and privileges won't be changed if they're not set |
||||
Input Params | ||||
Name | Type | Description | Required | Default Value |
session | string | The old KS of the impersonated partner | V | |
type | KalturaSessionType | Type of the new KS | KalturaSessionType::USER | |
expiry | int | Expiry time in seconds of the new KS | ||
privileges | string | Privileges of the new KS | ||
Output Type | ||||
KalturaSessionInfo | ||||
Errors | ||||
START_SESSION_ERROR,Error while starting session for partner [%s] | ||||
Example HTTP Hit | ||||
http://www.kaltura.com/api_v3/?service=session&action=impersonatebyks POST fields: session type expiry privileges |