API: analytics
LTI-registraties per dag of per cursus voor een periode.
Twee rapportage-endpoints: LTI-registraties per dag, eventueel voor één tool, en het totaal aantal LTI-registraties per cursus. Beide vragen een periode in het formaat DD-MM-YYYY. Registraties via SCORM Proxy hebben een eigen endpoint in API: SCORM Proxy.
Elk endpoint accepteert zowel GET als POST; de kop toont de methode die de specificatie als eerste noemt. Uploads gaan alleen met POST. Stuur je API-sleutel mee in de header Access-Token. De basis-URL is https://<your-platform>/local/ltisaas/api.php/v1; met v0 en het token dummy krijg je testdata. Foutmeldingen komen terug als JSON met success: false, error en debuginfo. Authenticatie, versies en limieten staan in API-documentatie. De beschrijvingen van endpoints en velden hieronder komen uit de specificatie en zijn Engels.
Gegenereerd uit de LtiSaas API-specificatie 1.0, opgehaald op 2026-10-30 van dev-auto.
| Endpoint | Beschrijving |
|---|---|
| GET /course/lti/registrations_by_day | Get LTI registrations by day |
| GET /course/lti/registrations_sum_by_course | Get total LTI registrations per course |
GET /course/lti/registrations_by_day
Get LTI registrations by day. This endpoint retrieves the Learning Tools Interoperability (LTI) registrations grouped by day. The results provide insights into daily registration and can be used for analytical purposes.
Parameters
| Naam | In | Type | Verplicht | Beschrijving |
|---|---|---|---|---|
from | query | string | ja | The start date (format: DD-MM-YYYY). |
till | query | string | ja | The end date (format: DD-MM-YYYY). |
toolid | query | integer | nee | The identifier of the LTI tool (optional). |
Voorbeeldverzoek
curl -H "Access-Token: <your token>" \
"https://<your-platform>/local/ltisaas/api.php/v1/course/lti/registrations_by_day?from=<from>&till=<till>"Voorbeeldantwoord (200). Retrieves the LTI registrations per day.
{
"success": true,
"results": [
{
"date": "string",
"totalregistrations": 0
}
]
}Fouten: 400 Bad Request, 401 Unauthorized
GET /course/lti/registrations_sum_by_course
Get total LTI registrations per course. This endpoint retrieves the total number of Learning Tools Interoperability (LTI) registrations for each course. The results can be used to gain insight into the overall registration activities of each course.
Parameters
| Naam | In | Type | Verplicht | Beschrijving |
|---|---|---|---|---|
from | query | string | ja | The start date (format: DD-MM-YYYY). |
till | query | string | ja | The end date (format: DD-MM-YYYY). |
courseid | query | integer | nee | The identifier of the course (optional). |
Voorbeeldverzoek
curl -H "Access-Token: <your token>" \
"https://<your-platform>/local/ltisaas/api.php/v1/course/lti/registrations_sum_by_course?from=<from>&till=<till>"Voorbeeldantwoord (200). LTI registrations within a course for a specific time period.
{
"results": [
{
"totalregistrations": 0,
"courseid": 0,
"coursename": "string",
"coursenameshort": "string"
}
]
}Fouten: 400 Bad Request, 401 Unauthorized