API versionv1

Statements

Use statement endpoints when you need to validate and ingest learner activity into SD Platform.

Base URL
https://api.simplestdata.com
Version
v1 Current
Client libraries
  • Ruby
  • Python
  • PHP
  • Java
  • Node.js
  • Go
  • .NET

Endpoint

Request

Send a JSON xAPI statement to the statements collection.

Response

Expect an accepted write response that returns the statement identifier and processing status.

Parameters

  • Authorization header: bearer token or API key for the target environment.
  • Content-Type: set to application/json.
  • Request body: a single xAPI statement document to validate and ingest.

Errors

  • 400 Bad Request when the statement is malformed or a required field is missing.
  • 401 Unauthorized when the caller is unauthenticated or targeting the wrong environment.
  • 422 Unprocessable Entity when the statement is well-formed JSON but fails validation rules.