Listar los módulos de un curso
curl --request GET \
--url https://app.reinvented.education/api/clients/routes/{route_id}/modules/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/routes/{route_id}/modules/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.reinvented.education/api/clients/routes/{route_id}/modules/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"ordering": 123,
"content_module": {
"pk": 123,
"slug_name": "<string>",
"name": "<string>",
"description": "<string>",
"distributions": [
{
"id": 123,
"ordering": 123,
"is_active": true,
"self_assessments": [
123
],
"content": {
"id": 123,
"title": "<string>",
"slug_name": "<string>",
"duration": "<string>",
"content_type": "<string>",
"video_file": "<string>",
"view_file": "<string>",
"audio_file": "<string>",
"thumbnail": "<string>"
}
}
]
}
}
]
}{
"detail": "Authentication credentials were not provided."
}{
"detail": "Not found."
}Catálogo
Listar los módulos de un curso
Lista los módulos de un curso de la empresa, cada uno con sus contenidos (distribuciones) en orden.
GET
/
clients
/
routes
/
{route_id}
/
modules
/
Listar los módulos de un curso
curl --request GET \
--url https://app.reinvented.education/api/clients/routes/{route_id}/modules/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/routes/{route_id}/modules/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.reinvented.education/api/clients/routes/{route_id}/modules/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"ordering": 123,
"content_module": {
"pk": 123,
"slug_name": "<string>",
"name": "<string>",
"description": "<string>",
"distributions": [
{
"id": 123,
"ordering": 123,
"is_active": true,
"self_assessments": [
123
],
"content": {
"id": 123,
"title": "<string>",
"slug_name": "<string>",
"duration": "<string>",
"content_type": "<string>",
"video_file": "<string>",
"view_file": "<string>",
"audio_file": "<string>",
"thumbnail": "<string>"
}
}
]
}
}
]
}{
"detail": "Authentication credentials were not provided."
}{
"detail": "Not found."
}
