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/subjects
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/subjects?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/subjects
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.thelearnspot.nl/_mock/openapi/subjects \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "subjects",
"attributes": {
"title": "Dit is een test",
"introduction": "Test content",
"content": "",
"external_id": "thip.a897b758-04aa-49ff-9017-347ab78267b9",
"available_for_courses": false
},
"relationships": {
"module": {},
"chapters": {}
}
}
}'{ "jsonapi": { "version": "1.0" }, "data": { "type": "subjects", "id": "2f94483e-dd7b-4fb7-8f97-f7c91433eeba", "attributes": { … }, "relationships": { … } } }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects/{subject}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": { "type": "subjects", "id": "2f94483e-dd7b-4fb7-8f97-f7c91433eeba", "attributes": { … }, "relationships": { … } } }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects/{subject}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "subjects",
"id": "2f94483e-dd7b-4fb7-8f97-f7c91433eeba",
"attributes": {
"title": "Dit is een test",
"introduction": "Test content",
"content": "",
"external_id": "thip.a897b758-04aa-49ff-9017-347ab78267b9",
"available_for_courses": false
},
"relationships": {
"module": {},
"chapters": {}
}
}
}'{ "jsonapi": { "version": "1.0" }, "data": { "type": "subjects", "id": "2f94483e-dd7b-4fb7-8f97-f7c91433eeba", "attributes": { … }, "relationships": { … } } }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}/module
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects/{subject}/module
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}/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/subjects/{subject}/relationships/module
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects/{subject}/relationships/module
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}/relationships/module' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": { "type": "modules", "id": "63fa853f-2769-4682-a0ec-600858474b26" } }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}/chapters
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects/{subject}/chapters
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}/chapters' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": [ { … } ] }
- Mock server
https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}/relationships/chapters
https://docs.thelearnspot.nl/https://app.thelearnspot.nl/api/v1/subjects/{subject}/relationships/chapters
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.thelearnspot.nl/_mock/openapi/subjects/{subject}/relationships/chapters' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "jsonapi": { "version": "1.0" }, "data": [ { … } ] }