The Learnspot API (1.0.0)
The Learnspot API documentation.
https://docs.thelearnspot.nl/_mock/openapi/
https://docs.thelearnspot.nl/{serverUrl}/
A list of ids to filter by.
Filters the records
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/modules
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/modules
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/modules?page%5Bsize%5D=0&page%5Bnumber%5D=0&sort=id' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": [ { … } ] }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/modules
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/modules
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.thelearnspot.nl/_mock/openapi/modules \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "modules",
"attributes": {
"title": "Dit is een test",
"introduction": "Test introduction",
"content": "<p>Test content</p>",
"external_id": "edition-traject-mz-kd2022"
},
"relationships": {
"subjects": {}
}
}
}'{ "jsonapi": { "version": "1.0" }, "data": { "type": "modules", "id": "63fa853f-2769-4682-a0ec-600858474b26", "attributes": { … }, "relationships": { … } } }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/modules/{module}
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/modules/{module}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/modules/{module}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": { "type": "modules", "id": "63fa853f-2769-4682-a0ec-600858474b26", "attributes": { … }, "relationships": { … } } }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/modules/{module}
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/modules/{module}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.thelearnspot.nl/_mock/openapi/modules/{module}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "modules",
"id": "63fa853f-2769-4682-a0ec-600858474b26",
"attributes": {
"title": "Dit is een test",
"introduction": "Test introduction",
"content": "<p>Test content</p>",
"external_id": "edition-traject-mz-kd2022"
},
"relationships": {
"subjects": {}
}
}
}'{ "jsonapi": { "version": "1.0" }, "data": { "type": "modules", "id": "63fa853f-2769-4682-a0ec-600858474b26", "attributes": { … }, "relationships": { … } } }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/modules/{module}/subjects
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/modules/{module}/subjects
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/modules/{module}/subjects' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": [ { … } ] }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/modules/{module}/relationships/subjects
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/modules/{module}/relationships/subjects
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/modules/{module}/relationships/subjects' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": [ { … } ] }