State
List State
GET
https://{organisation}.clearlrs.com/xapi/activities/state
Returns a list of stateIds stored for the specified parameters.
Query Parameters
Name | Type | Description |
---|---|---|
activityId | string | 1 |
agent | object | 2 |
registration | string | 3 |
Retrieve State
GET
https://{organisation}.clearlrs.com/xapi/activities/state
Retrieves the state document
Query Parameters
Name | Type | Description |
---|---|---|
activityId | string | 1 |
agent | object | 2 |
stateId | string | 3 |
registration | string | 4 |
Update State
PUT
https://{organisation}.clearlrs.com/xapi/activities/state
Replaces the state document for the given agent, activityId and stateId.
Query Parameters
Name | Type | Description |
---|---|---|
activityId | string | 1 |
agent | object | 2 |
stateId | string | 3 |
registration | string | 4 |
Merge State
POST
https://{organisation}.clearlrs.com/xapi/activities/state
Query Parameters
Name | Type | Description |
---|---|---|
activityId | string | 1 |
agent | object | 2 |
stateId | string | 3 |
registration | string | 4 |
Remove State
DELETE
https://{organisation}.clearlrs.com/xapi/activities/state
Query Parameters
Name | Type | Description |
---|---|---|
activityId | string | 1 |
agent | object | 2 |
stateId | string | 3 |
registration | string | 4 |
Last updated