List courses
curl --request GET \
--url https://app.reinvented.education/api/clients/routes/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/routes/"
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/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"id": 123,
"external_id": "<string>",
"name": "<string>",
"slug_name": "<string>",
"total_contents": 123,
"minutes_duration": 123,
"starting_date": "2023-12-25",
"rating": 123,
"language": "es",
"finished": true,
"published": true,
"automatic_advance": true,
"alias": "<string>",
"test_trials_available": 123,
"contentmoduleroute_set": [
{
"ordering": 123,
"content_module": {
"pk": 123,
"slug_name": "<string>",
"name": "<string>",
"description": "<string>"
}
}
]
}
]
}{
"detail": "Authentication credentials were not provided."
}Catalog
List courses
Lists the company’s courses (routes) with their modules in order.
GET
/
clients
/
routes
/
List courses
curl --request GET \
--url https://app.reinvented.education/api/clients/routes/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/routes/"
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/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"id": 123,
"external_id": "<string>",
"name": "<string>",
"slug_name": "<string>",
"total_contents": 123,
"minutes_duration": 123,
"starting_date": "2023-12-25",
"rating": 123,
"language": "es",
"finished": true,
"published": true,
"automatic_advance": true,
"alias": "<string>",
"test_trials_available": 123,
"contentmoduleroute_set": [
{
"ordering": 123,
"content_module": {
"pk": 123,
"slug_name": "<string>",
"name": "<string>",
"description": "<string>"
}
}
]
}
]
}{
"detail": "Authentication credentials were not provided."
}
