Versions Compared

Key

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

...

The table below describes the routes that the HTTP interface provides, all of the URLs are relative to http://www.example.org/data/xAPI where http://www.example.org is the URL of your Learning Locker instance. 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. Go to the xAPI HTTP interface documentation to see the rest of the xAPI routes.

Route

Description

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.

<iframe src="https://player.vimeo.com/video/168961913" width="80%" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="padding-left: 15%;"></iframe>

...

Code Block
GET http://www.example.org/data/xAPI/activities/profile?activityId=http%3A%2F%2Fwww.example.org%2Factivity
Authorization: YOUR_BASIC_AUTH
X-Experience-API-Version: 1.0.3

...