Documentation Index
Fetch the complete documentation index at: https://docs.opigno.com/llms.txt
Use this file to discover all available pages before exploring further.
Live session
Live session represents offline or online meeting that can be a part of the learning path. Live sessions are not a part of a learning path navigation, they donβt affect score and progress, but they can be used as a required condition to pass a training and achieve a certificate. Live sessions can be added to advanced learning path as a part of the live sessions bucket. A user who has an individual membership in the dedicated learning path can be registered to the only one live session in the bucket. Users can register to a live session that is added to the bucket with the open registration by themselves or they can be registered by users with the dedicated permission (Administrator).Use API to work with the live sessions
Opigno Enterprise API provides several queries to retrieve the needed information and data structure to work with the live session.Queries to retrieve live sessions and buckets information
You can usegetLiveSession query to retrieve the information about the session by its ID:
getLiveSessions query.
There are several arguments that can be used in this query:
| Argument | Type | Description | Default |
|---|---|---|---|
bucketId | ID | Required argument; ID of the bucket to get live sessions for. | β |
status | LiveSessionStatus, possible options: - DISABLED - PUBLISHED | Allows to filter by the live session status. Disabled live sessions are not available for registration. | β |
reverse | Boolean | Allows to change the order of the sorting to DESC. | false |
sortKey | LiveSessionSortKey, possible options: - ID - START | Allows to change the default sorting (by the start date). | START |
getLiveSessionBucket query to retrieve the information about the bucket in addition to the list of sessions.
In
getLiveSessionBucket query there is no possibility to sort live sessions.Retrieve information about live sessions in context of the learning path
The list of the related live sessions can be accessed from theLearningPath object:
getLiveSessionBuckets can be used if you need the list of related buckets.
Here is the list of arguments that can be used:
| Argument | Type | Description | Default |
|---|---|---|---|
lpId | ID | Required argument; ID of the learning path to get buckets for. | β |
status | LiveSessionStatus, possible options: - DISABLED - PUBLISHED | Allows to filter by the bucket status. Live sessions that relate to the disabled buckets are not available for registration. | β |
reverse | Boolean | Allows to change the order of the sorting to DESC. | false |
sortKey | LiveSessionBucketSortKeys, possible options: - ID - TITLE | Allows to change the default sorting. | TITLE |
Registration to a live session
There are two available types of live session buckets:- Open - available for registration for all users who are enrolled to the related learning path;
- Admin-signed - will be visible to a user only after registration by admin.
registerToLiveSession is used.
| Argument | Type | Description |
|---|---|---|
liveSessionId | ID | Required argument; ID of the live session to register for. |
userContextId | ID | Optional; if set, the user with the given API context will be registered to the live session if itβs possible. Otherwise the current user will be registered (if possible). |
LiveSessionAttendance object will be returned.