| session:impersonate | ||||
|---|---|---|---|---|
| Description: | ||||
| Start an impersonated 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 |
| secret | string | - should be the secret (admin or user) of the original partnerId (not impersonatedPartnerId). | V | |
| impersonatedPartnerId | int | V | ||
| userId | string | - impersonated userId | ||
| type | KalturaSessionType | KalturaSessionType::USER | ||
| partnerId | int | |||
| expiry | int | KS expiry time in seconds | 86400 | |
| privileges | string | |||
| Output Type | ||||
| string | ||||
| Errors | ||||
| START_SESSION_ERROR,Error while starting session for partner [%s] | ||||
| Example HTTP Hit | ||||
| http://www.kaltura.com/api_v3/?service=session&action=impersonate POST fields: secret impersonatedPartnerId userId type partnerId expiry privileges |
||||