Listar cursos
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."
}Catálogo
Listar cursos
Lista os cursos (routes) da empresa com seus módulos em ordem.
GET
/
clients
/
routes
/
Listar cursos
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."
}Authorizations
Query Parameters
Nomes de campos separados por vírgula; prefixe com - para ordem decrescente. Usuários: id, username, first_name, last_name, email, phone_number, is_client, is_verified, created, last_login, last_activity, offline_mode. Cursos: campos do curso, por exemplo name, -id, starting_date (sem ordenação padrão).

