KalturaAPI:startsession
From Devwiki
Part of the KalturaAPI
Contents |
Description
Starts a ks = kaltura-session.
Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| secret | always | the secret given to the Kaltura Partner at registration time. The partner_id & secret are tightly coupled and together help Kaltura securely identify the partner. | |
| expiry | integer | no | the time in seconds the session will stay alive. Default 86400 seconds = 24 hours. After this period using the session will result in an error -5 |
Results
| Name | Type | Description |
|---|---|---|
| ks | string | A long string representing the kaltura-session. This string should be used AS-IS in all service calls to come. |
Error Codes
| Code | Description |
|---|---|
| ? | unknown partner_id <partner_id> |
| -2 | error while starting session for partner <partner_id>. This can happen when the secret does not match the partner_id |

