Get a course
curl --request GET \
--url https://app.reinvented.education/api/clients/routes/{route_id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/routes/{route_id}/"
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}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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."
}{
"detail": "Not found."
}Catalog
Get a course
Returns one of the company’s courses with its modules in order.
GET
/
clients
/
routes
/
{route_id}
/
Get a course
curl --request GET \
--url https://app.reinvented.education/api/clients/routes/{route_id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/routes/{route_id}/"
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}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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."
}{
"detail": "Not found."
}Authorizations
Response
The course.
A course.

