Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To access this interface, you must additionally supply your Basic Auth details with each request in the Authorization header. Your Basic Auth details can be found under Settings > Clients. Alternatively you can use OAuth by creating a bearer token, however, when using the xAPI via a server Basic auth should be sufficient and when using the xAPI via a client we recommend using the ADL launch algorithm with an xAPI launch server.

Route

Description

GET /about

Retrieves information about the LRS.

PUT /statements

Stores a single statement.

POST /statements

Stores a single statement or multiple statements.

GET /statements

Retrieves statements.

PUT /activities/state

Creates or overwrites a state document.

POST /activities/state

Creates or merges a state document.

GET /activities/state

Retrieves a single state document or multiple state identifiers.

DELETE /activities/state

Deletes a single state document or multiple state documents.

GET /activities

Retrieves a fully described activity.

PUT /activities/profile

Creates or overwrites a profile document.

POST /activities/profile

Creates or merges a profile document.

GET /activities/profile

Retrieves a single profile document or multiple profile identifiers.

DELETE /activities/profile

Deletes a single profile document.

GET /agents

Retrieves all of the agents used by a person.

PUT /agents/profile

Creates or overwrites a profile document.

POST /agents/profile

Creates or merges a profile document.

GET /agents/profile

Retrieves a single profile document or multiple profile identifiers.

DELETE /agents/profile

Deletes a single profile document.

GET /ABOUT

This route returns a JSON encoded object containing information about the LRS. A request to this route would look something like the request below.

...