headless lms

Report usage on an activity; the progress service decides completion

POST /api/member/progress. Report usage on an activity; the progress service decides completion. Headless LMS Progress API reference.

POST
/api/member/progress

For a member who can open the course, through a grant or courses:read on it. Reports facts, never a decision: the service decides whether the activity is complete. 404 when the activity is not published, or you cannot open its course.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/member/progress" \  -H "Content-Type: application/json" \  -d '{    "activity": "string",    "reports": [      {        "property1": null,        "property2": null      }    ]  }'
{  "status": "in-progress"}
{  "error": "string",  "message": "string",  "requestId": "string",  "issues": [    {      "path": "string",      "message": "string"    }  ]}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}