Introduction
API complète pour la gestion scolaire - Élèves, Notes, Emplois du temps, Paiements et plus.
Bienvenue dans la documentation de l'API AcademiaPro. Cette documentation vous fournit toutes les informations nécessaires pour intégrer et utiliser notre système de gestion scolaire.
<aside>En faisant défiler, vous verrez des exemples de code dans différents langages de programmation dans la zone sombre à droite (ou dans le contenu sur mobile).
Vous pouvez changer le langage utilisé avec les onglets en haut à droite (ou depuis le menu de navigation en haut à gauche sur mobile).</aside>
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_TOKEN}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
Vous pouvez obtenir votre token en vous connectant via l'endpoint /api/v1.0.0/login. Le token doit être envoyé dans le header Authorization avec le préfixe Bearer.
Endpoints
GET api/user
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/user" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/user"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/user';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/user'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/login
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/login" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"vmqeopfuudtdsufvyvddq\",
\"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/login"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "vmqeopfuudtdsufvyvddq",
"password": "O[2UZ5ij-e\/dl4m{o,"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/login';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'phone' => 'vmqeopfuudtdsufvyvddq',
'password' => 'O[2UZ5ij-e/dl4m{o,',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/login'
payload = {
"phone": "vmqeopfuudtdsufvyvddq",
"password": "O[2UZ5ij-e\/dl4m{o,"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/otp-code
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/otp-code" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/otp-code"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/otp-code';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/otp-code'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Génère un OTP pour le reset mot de passe et le renvoie pour EmailJS
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/forgot-password" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"qkunze@example.com\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/forgot-password"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "qkunze@example.com"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/forgot-password';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => 'qkunze@example.com',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/forgot-password'
payload = {
"email": "qkunze@example.com"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Réinitialise le mot de passe avec le code OTP
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/reset-password" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"qkunze@example.com\",
\"otp\": \"consequatur\",
\"password\": \"[2UZ5ij-e\\/dl4\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/reset-password"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "qkunze@example.com",
"otp": "consequatur",
"password": "[2UZ5ij-e\/dl4"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/reset-password';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'email' => 'qkunze@example.com',
'otp' => 'consequatur',
'password' => '[2UZ5ij-e/dl4',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/reset-password'
payload = {
"email": "qkunze@example.com",
"otp": "consequatur",
"password": "[2UZ5ij-e\/dl4"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/me
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/me" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/me"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/me';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/me'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/logout
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/logout" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/logout';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/logout'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/update-profile
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/update-profile" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=vmqeopfuudtdsufvyvddq"\
--form "email=kunde.eloisa@example.com"\
--form "new_password=hfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkw"\
--form "photo=@C:\Users\user\AppData\Local\Temp\php80FF.tmp" const url = new URL(
"http://localhost/api/v1.0.0/update-profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'vmqeopfuudtdsufvyvddq');
body.append('email', 'kunde.eloisa@example.com');
body.append('new_password', 'hfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkw');
body.append('photo', document.querySelector('input[name="photo"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/update-profile';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'multipart/form-data',
'Accept' => 'application/json',
],
'multipart' => [
[
'name' => 'name',
'contents' => 'vmqeopfuudtdsufvyvddq'
],
[
'name' => 'email',
'contents' => 'kunde.eloisa@example.com'
],
[
'name' => 'new_password',
'contents' => 'hfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkw'
],
[
'name' => 'photo',
'contents' => fopen('C:\Users\user\AppData\Local\Temp\php80FF.tmp', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/update-profile'
files = {
'name': (None, 'vmqeopfuudtdsufvyvddq'),
'email': (None, 'kunde.eloisa@example.com'),
'new_password': (None, 'hfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkw'),
'photo': open('C:\Users\user\AppData\Local\Temp\php80FF.tmp', 'rb')}
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"email": "kunde.eloisa@example.com",
"new_password": "hfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkw"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'multipart/form-data',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, files=files)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/register
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/register" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjur\",
\"email\": \"oschulist@example.org\",
\"password\": \"z&~na%x\",
\"passwordConfirm\": \"consequatur\",
\"role\": \"enseignant\",
\"first_name\": \"mqeopfuudtdsufvyvddqa\",
\"last_name\": \"mniihfqcoynlazghdtqtq\",
\"phone\": \"xbajwbpilpmufinll\",
\"profession\": \"wloauydlsmsjuryvojcyb\",
\"birth_date\": \"2025-12-11T12:03:27\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/register"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjur",
"email": "oschulist@example.org",
"password": "z&~na%x",
"passwordConfirm": "consequatur",
"role": "enseignant",
"first_name": "mqeopfuudtdsufvyvddqa",
"last_name": "mniihfqcoynlazghdtqtq",
"phone": "xbajwbpilpmufinll",
"profession": "wloauydlsmsjuryvojcyb",
"birth_date": "2025-12-11T12:03:27"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/register';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjur',
'email' => 'oschulist@example.org',
'password' => 'z&~na%x',
'passwordConfirm' => 'consequatur',
'role' => 'enseignant',
'first_name' => 'mqeopfuudtdsufvyvddqa',
'last_name' => 'mniihfqcoynlazghdtqtq',
'phone' => 'xbajwbpilpmufinll',
'profession' => 'wloauydlsmsjuryvojcyb',
'birth_date' => '2025-12-11T12:03:27',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/register'
payload = {
"name": "vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjur",
"email": "oschulist@example.org",
"password": "z&~na%x",
"passwordConfirm": "consequatur",
"role": "enseignant",
"first_name": "mqeopfuudtdsufvyvddqa",
"last_name": "mniihfqcoynlazghdtqtq",
"phone": "xbajwbpilpmufinll",
"profession": "wloauydlsmsjuryvojcyb",
"birth_date": "2025-12-11T12:03:27"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/school-years/active
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/school-years/active" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/school-years/active"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/school-years/active';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/school-years/active'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/school-years
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/school-years" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/school-years"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/school-years';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/school-years'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/school-years/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/school-years/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/school-years/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/school-years/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/school-years/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/students
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/students/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get student profile with enrollment history
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/profile" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/profile';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/profile'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get student grades for a specific school year
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/grades" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/grades"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/grades';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/grades'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Obtenir les détails complets d'un élève
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/details" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/details';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/details'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Obtenir l'historique des inscriptions d'un élève
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/enrollments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/enrollments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/enrollments';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/enrollments'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Obtenir les examens d'un élève pour une année scolaire
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/assignments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/assignments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/assignments';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/assignments'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
List report cards for a student.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/report-cards" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/report-cards"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/report-cards';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/report-cards'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Download the report card as PDF.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/report-cards/consequatur/download" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/report-cards/consequatur/download"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/report-cards/consequatur/download';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/report-cards/consequatur/download'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/evaluation-types
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/evaluation-types" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/evaluation-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/evaluation-types';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/evaluation-types'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/grades
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/grades" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/grades"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/grades';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/grades'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/grades
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/grades" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"consequatur\",
\"assignment_id\": \"consequatur\",
\"score\": 45,
\"notes\": \"qeopfuudtdsufvyvddqam\",
\"graded_at\": \"2025-12-11T12:03:27\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/grades"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "consequatur",
"assignment_id": "consequatur",
"score": 45,
"notes": "qeopfuudtdsufvyvddqam",
"graded_at": "2025-12-11T12:03:27"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/grades';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'student_id' => 'consequatur',
'assignment_id' => 'consequatur',
'score' => 45,
'notes' => 'qeopfuudtdsufvyvddqam',
'graded_at' => '2025-12-11T12:03:27',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/grades'
payload = {
"student_id": "consequatur",
"assignment_id": "consequatur",
"score": 45,
"notes": "qeopfuudtdsufvyvddqam",
"graded_at": "2025-12-11T12:03:27"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/grades/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/grades/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/grades/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/grades/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/grades/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/classrooms
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/classrooms" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/classrooms/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/classrooms/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get students with ranking for a specific assignment/exam
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/classrooms/1/ranking" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/ranking"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/ranking';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/ranking'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET /classrooms/{classroom}/subjects?school_year_id=X Obtenir le programme d'une classe pour une année
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/classrooms/1/subjects" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/subjects"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/subjects';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/subjects'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Obtenir les détails d'une classe avec ses élèves
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/classrooms/1/details" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/details';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/details'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Liste des examens de la classe
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/classrooms/1/assignments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/assignments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/assignments';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/assignments'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/teachers
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/teachers" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/teachers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/teachers';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/teachers'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/teachers/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/teachers/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/teachers/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/teachers/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/teachers/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/subjects
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/subjects" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/subjects"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/subjects';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/subjects'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/subjects/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/subjects/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/subjects/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/subjects/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/subjects/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/schedules
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/schedules" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/schedules"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schedules';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schedules'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/schedules/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/schedules/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/schedules/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schedules/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schedules/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/assignments
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/assignments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/assignments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/assignments';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/assignments'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/assignments/{id}
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/assignments/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/assignments/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/assignments/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/assignments/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1.0.0/dashboard/stats
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/dashboard/stats" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/dashboard/stats"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/dashboard/stats';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/dashboard/stats'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/students
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/students" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"vmqeopfuudtdsufvyvddq\",
\"last_name\": \"amniihfqcoynlazghdtqt\",
\"matricule\": \"qxbajwbpilpmufinllwlo\",
\"birth_date\": \"2025-12-11T12:03:27\",
\"gender\": \"M\",
\"parent_contact\": \"auydlsmsjuryvojcybzvr\",
\"address\": \"byickznkygloigmkwxphl\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/students"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"matricule": "qxbajwbpilpmufinllwlo",
"birth_date": "2025-12-11T12:03:27",
"gender": "M",
"parent_contact": "auydlsmsjuryvojcybzvr",
"address": "byickznkygloigmkwxphl"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'first_name' => 'vmqeopfuudtdsufvyvddq',
'last_name' => 'amniihfqcoynlazghdtqt',
'matricule' => 'qxbajwbpilpmufinllwlo',
'birth_date' => '2025-12-11T12:03:27',
'gender' => 'M',
'parent_contact' => 'auydlsmsjuryvojcybzvr',
'address' => 'byickznkygloigmkwxphl',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students'
payload = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"matricule": "qxbajwbpilpmufinllwlo",
"birth_date": "2025-12-11T12:03:27",
"gender": "M",
"parent_contact": "auydlsmsjuryvojcybzvr",
"address": "byickznkygloigmkwxphl"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/students/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/students/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"vmqeopfuudtdsufvyvddq\",
\"last_name\": \"amniihfqcoynlazghdtqt\",
\"matricule\": \"qxbajwbpilpmufinllwlo\",
\"birth_date\": \"2025-12-11T12:03:27\",
\"gender\": \"M\",
\"parent_contact\": \"auydlsmsjuryvojcybzvr\",
\"address\": \"byickznkygloigmkwxphl\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/students/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"matricule": "qxbajwbpilpmufinllwlo",
"birth_date": "2025-12-11T12:03:27",
"gender": "M",
"parent_contact": "auydlsmsjuryvojcybzvr",
"address": "byickznkygloigmkwxphl"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'first_name' => 'vmqeopfuudtdsufvyvddq',
'last_name' => 'amniihfqcoynlazghdtqt',
'matricule' => 'qxbajwbpilpmufinllwlo',
'birth_date' => '2025-12-11T12:03:27',
'gender' => 'M',
'parent_contact' => 'auydlsmsjuryvojcybzvr',
'address' => 'byickznkygloigmkwxphl',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1'
payload = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"matricule": "qxbajwbpilpmufinllwlo",
"birth_date": "2025-12-11T12:03:27",
"gender": "M",
"parent_contact": "auydlsmsjuryvojcybzvr",
"address": "byickznkygloigmkwxphl"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/students/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/students/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/teachers
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/teachers" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"vmqeopfuudtdsufvyvddq\",
\"last_name\": \"amniihfqcoynlazghdtqt\",
\"phone\": \"qxbajwbpilpmufinl\",
\"email\": \"imogene.mante@example.com\",
\"specialization\": \"uydlsmsjuryvojcybzvrb\",
\"birth_date\": \"2025-12-11T12:03:27\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/teachers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"phone": "qxbajwbpilpmufinl",
"email": "imogene.mante@example.com",
"specialization": "uydlsmsjuryvojcybzvrb",
"birth_date": "2025-12-11T12:03:27"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/teachers';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'first_name' => 'vmqeopfuudtdsufvyvddq',
'last_name' => 'amniihfqcoynlazghdtqt',
'phone' => 'qxbajwbpilpmufinl',
'email' => 'imogene.mante@example.com',
'specialization' => 'uydlsmsjuryvojcybzvrb',
'birth_date' => '2025-12-11T12:03:27',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/teachers'
payload = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"phone": "qxbajwbpilpmufinl",
"email": "imogene.mante@example.com",
"specialization": "uydlsmsjuryvojcybzvrb",
"birth_date": "2025-12-11T12:03:27"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/teachers/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/teachers/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"vmqeopfuudtdsufvyvddq\",
\"last_name\": \"amniihfqcoynlazghdtqt\",
\"phone\": \"qxbajwbpilpmufinl\",
\"email\": \"imogene.mante@example.com\",
\"specialization\": \"uydlsmsjuryvojcybzvrb\",
\"birth_date\": \"2025-12-11T12:03:27\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/teachers/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"phone": "qxbajwbpilpmufinl",
"email": "imogene.mante@example.com",
"specialization": "uydlsmsjuryvojcybzvrb",
"birth_date": "2025-12-11T12:03:27"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/teachers/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'first_name' => 'vmqeopfuudtdsufvyvddq',
'last_name' => 'amniihfqcoynlazghdtqt',
'phone' => 'qxbajwbpilpmufinl',
'email' => 'imogene.mante@example.com',
'specialization' => 'uydlsmsjuryvojcybzvrb',
'birth_date' => '2025-12-11T12:03:27',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/teachers/1'
payload = {
"first_name": "vmqeopfuudtdsufvyvddq",
"last_name": "amniihfqcoynlazghdtqt",
"phone": "qxbajwbpilpmufinl",
"email": "imogene.mante@example.com",
"specialization": "uydlsmsjuryvojcybzvrb",
"birth_date": "2025-12-11T12:03:27"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/teachers/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/teachers/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/teachers/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/teachers/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/teachers/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/subjects
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/subjects" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"code\": \"amniihfqcoynlazghdtqt\",
\"coefficient\": 7
}"
const url = new URL(
"http://localhost/api/v1.0.0/subjects"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"coefficient": 7
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/subjects';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddq',
'code' => 'amniihfqcoynlazghdtqt',
'coefficient' => 7,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/subjects'
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"coefficient": 7
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/subjects/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/subjects/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"code\": \"amniihfqcoynlazghdtqt\",
\"coefficient\": 7
}"
const url = new URL(
"http://localhost/api/v1.0.0/subjects/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"coefficient": 7
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/subjects/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddq',
'code' => 'amniihfqcoynlazghdtqt',
'coefficient' => 7,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/subjects/1'
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"coefficient": 7
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/subjects/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/subjects/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/subjects/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/subjects/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/subjects/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/classrooms
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/classrooms" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"code\": \"amniihfqcoynlazghdtqt\",
\"cycle\": \"primaire\",
\"level\": \"qxbajwbpilpmufinllwlo\",
\"tuition_fee\": 2,
\"school_year_id\": \"consequatur\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"cycle": "primaire",
"level": "qxbajwbpilpmufinllwlo",
"tuition_fee": 2,
"school_year_id": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddq',
'code' => 'amniihfqcoynlazghdtqt',
'cycle' => 'primaire',
'level' => 'qxbajwbpilpmufinllwlo',
'tuition_fee' => 2,
'school_year_id' => 'consequatur',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms'
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"cycle": "primaire",
"level": "qxbajwbpilpmufinllwlo",
"tuition_fee": 2,
"school_year_id": "consequatur"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/classrooms/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/classrooms/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"code\": \"amniihfqcoynlazghdtqt\",
\"cycle\": \"college\",
\"level\": \"qxbajwbpilpmufinllwlo\",
\"tuition_fee\": 2
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"cycle": "college",
"level": "qxbajwbpilpmufinllwlo",
"tuition_fee": 2
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddq',
'code' => 'amniihfqcoynlazghdtqt',
'cycle' => 'college',
'level' => 'qxbajwbpilpmufinllwlo',
'tuition_fee' => 2,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1'
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"code": "amniihfqcoynlazghdtqt",
"cycle": "college",
"level": "qxbajwbpilpmufinllwlo",
"tuition_fee": 2
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/classrooms/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/classrooms/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/school-years
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/school-years" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"year_start\": \"vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh\",
\"year_end\": \"8107\",
\"label\": \"mqeopfuudtdsufvyvddqa\",
\"is_active\": true,
\"start_date\": \"2025-12-11T12:03:27\",
\"end_date\": \"2107-01-10\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/school-years"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"year_start": "vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh",
"year_end": "8107",
"label": "mqeopfuudtdsufvyvddqa",
"is_active": true,
"start_date": "2025-12-11T12:03:27",
"end_date": "2107-01-10"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/school-years';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'year_start' => 'vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh',
'year_end' => '8107',
'label' => 'mqeopfuudtdsufvyvddqa',
'is_active' => true,
'start_date' => '2025-12-11T12:03:27',
'end_date' => '2107-01-10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/school-years'
payload = {
"year_start": "vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh",
"year_end": "8107",
"label": "mqeopfuudtdsufvyvddqa",
"is_active": true,
"start_date": "2025-12-11T12:03:27",
"end_date": "2107-01-10"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/school-years/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/school-years/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"year_start\": \"vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh\",
\"year_end\": \"8107\",
\"label\": \"mqeopfuudtdsufvyvddqa\",
\"is_active\": false,
\"start_date\": \"2025-12-11T12:03:27\",
\"end_date\": \"2107-01-10\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/school-years/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"year_start": "vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh",
"year_end": "8107",
"label": "mqeopfuudtdsufvyvddqa",
"is_active": false,
"start_date": "2025-12-11T12:03:27",
"end_date": "2107-01-10"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/school-years/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'year_start' => 'vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh',
'year_end' => '8107',
'label' => 'mqeopfuudtdsufvyvddqa',
'is_active' => false,
'start_date' => '2025-12-11T12:03:27',
'end_date' => '2107-01-10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/school-years/1'
payload = {
"year_start": "vmqeopfuudtdsufvyvddqamniihfqcoynlazghdtqtqxbajwbpilpmufinllwloauydlsmsjuryvojcybzvrbyickznkygloigmkwxphlvazjrcnfbaqywuxhgjjmzuxjubqouzswiwxtrkimfcatbxspzmrazsroyjpxmqesedyghenqcopwvownkbamlnfngefbeilfzsyuxoezbdtabptcyyerevrljcbwkthjnescwsestcouxpqsydkigioyoyprjkfdjsneawgaavuiwlezlcraoooxrrjhbduowtbaqrrtgxiuvujtzcirplnfqsaymxpayeblqozckazplqjijwkuzgpjfumffsmqnmbekhsobzoqisjmbiuqxdnvttnwpjqkxxmutyzaadbjkbosusobdoqhlrecwgwnfrnqkqzoekemczcjkacxowxjfjhqnumftkwbfqsgaywjxhjqovkxzlvalyuwppfckszbujxazwsrqgzomzeowirvzubjxoeqxihgafndjgiswmddoraronrpbzlovdmbhrpyvkublvfopexlamadlsacjsrgesfcxzbqmrckwedjrwdsuajoeoqmqffvhmzauptsfvjrmcalgbthdntpexwxxdiyobdrslnocxxyqedhjzawnzhdqlunbdokxinubiizcohftgbflwjgmdatxmhncusavwtslayrzreqabfecuwjcoloukrlzvlbbmxthelswnqevtlyttcalavphnvhrmgqxswjgeyzvkwswetvavnnocttofmmugtmzmckfrakhdsnuzlhcpgqgalgsyyfotqcgafnobbhncyxqyuffvcqbyumpwrlumwxxdyqedhfeounhryjgaxneystliyjooovyibymvjnwhumoxehubcitbhkwaryopzlpbwlfyzvokqfxowxdeqxewukvqkwoayysgiaxtksynryxlhpwigcfxcafzorqpzjxqnwrgmtowxlnxtkzsiwnlrihnbxrequetmqfdzbjkyriyjueelxazabzonzhqtcexnmfejczmupvoqzpkdrjekvlkhoowefmklkvxaknsbvvujgxkqrgbpqrqflnookmimjkkkprdcjyywrqmztqyrcitrxxhcqvvljacyxyminwtwhgqrtzuraksqbrwkyokhllyzjdyippspohjmaiqpeamxiksaufmlcuekigtakygfulkzczuevuzriduxdjkkhevfmaxupuxjitippyebnlntnuywmfxgnvshwkcwnkohvlzodznxrawslybajwsqrczenkqygqluzfyjatuksndxeskwuwxxdvjnkjkdcibylppyndjzjdgfiqvxhbpefryqufgnqlwehrioparcarjehnlendrjdqneewrvbbyopsilxbicbissggtkylynczyzdfucntzxrthfhocwuqewskybgpibdxosjianczphykhlpfhezifloprigaqqhjsuxudvmrgphuroknmwxkgueazqpuecrzpbafpbcyxphvwrfcxhvsutefsqakmbodshvjihubyieyqyhpmofdcwjzffhitvsyesnxesgmovjgtrwiblmybwxojjqnh",
"year_end": "8107",
"label": "mqeopfuudtdsufvyvddqa",
"is_active": false,
"start_date": "2025-12-11T12:03:27",
"end_date": "2107-01-10"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/school-years/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/school-years/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/school-years/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/school-years/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/school-years/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/evaluation-types
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/evaluation-types" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"weight\": 1,
\"school_year_id\": \"consequatur\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/evaluation-types"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"weight": 1,
"school_year_id": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/evaluation-types';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddq',
'weight' => 1,
'school_year_id' => 'consequatur',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/evaluation-types'
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"weight": 1,
"school_year_id": "consequatur"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/evaluation-types/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/evaluation-types/17" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"weight\": 1
}"
const url = new URL(
"http://localhost/api/v1.0.0/evaluation-types/17"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"weight": 1
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/evaluation-types/17';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddq',
'weight' => 1,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/evaluation-types/17'
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"weight": 1
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/evaluation-types/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/evaluation-types/17" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/evaluation-types/17"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/evaluation-types/17';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/evaluation-types/17'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/schedules
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/schedules" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"classroom_id\": \"consequatur\",
\"subject_id\": \"consequatur\",
\"teacher_id\": \"consequatur\",
\"school_year_id\": \"consequatur\",
\"day_of_week\": \"sunday\",
\"start_time\": \"12:03\",
\"end_time\": \"2107-01-10\",
\"room\": \"mqeopfuudtdsufvyvddqa\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/schedules"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"classroom_id": "consequatur",
"subject_id": "consequatur",
"teacher_id": "consequatur",
"school_year_id": "consequatur",
"day_of_week": "sunday",
"start_time": "12:03",
"end_time": "2107-01-10",
"room": "mqeopfuudtdsufvyvddqa"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schedules';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'classroom_id' => 'consequatur',
'subject_id' => 'consequatur',
'teacher_id' => 'consequatur',
'school_year_id' => 'consequatur',
'day_of_week' => 'sunday',
'start_time' => '12:03',
'end_time' => '2107-01-10',
'room' => 'mqeopfuudtdsufvyvddqa',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schedules'
payload = {
"classroom_id": "consequatur",
"subject_id": "consequatur",
"teacher_id": "consequatur",
"school_year_id": "consequatur",
"day_of_week": "sunday",
"start_time": "12:03",
"end_time": "2107-01-10",
"room": "mqeopfuudtdsufvyvddqa"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/schedules/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/schedules/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"day_of_week\": \"thursday\",
\"start_time\": \"12:03\",
\"end_time\": \"2107-01-10\",
\"room\": \"mqeopfuudtdsufvyvddqa\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/schedules/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"day_of_week": "thursday",
"start_time": "12:03",
"end_time": "2107-01-10",
"room": "mqeopfuudtdsufvyvddqa"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schedules/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'day_of_week' => 'thursday',
'start_time' => '12:03',
'end_time' => '2107-01-10',
'room' => 'mqeopfuudtdsufvyvddqa',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schedules/1'
payload = {
"day_of_week": "thursday",
"start_time": "12:03",
"end_time": "2107-01-10",
"room": "mqeopfuudtdsufvyvddqa"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/schedules/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/schedules/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/schedules/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schedules/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schedules/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/assignments
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/assignments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"vmqeopfuudtdsufvyvddq\",
\"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
\"type\": \"Interrogation\",
\"max_score\": 12,
\"passing_score\": 66,
\"total_score\": 13,
\"start_date\": \"2025-12-11T12:03:27\",
\"due_date\": \"2025-12-11T12:03:27\",
\"classroom_id\": \"consequatur\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/assignments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "vmqeopfuudtdsufvyvddq",
"description": "Dolores dolorum amet iste laborum eius est dolor.",
"type": "Interrogation",
"max_score": 12,
"passing_score": 66,
"total_score": 13,
"start_date": "2025-12-11T12:03:27",
"due_date": "2025-12-11T12:03:27",
"classroom_id": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/assignments';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'title' => 'vmqeopfuudtdsufvyvddq',
'description' => 'Dolores dolorum amet iste laborum eius est dolor.',
'type' => 'Interrogation',
'max_score' => 12,
'passing_score' => 66,
'total_score' => 13,
'start_date' => '2025-12-11T12:03:27',
'due_date' => '2025-12-11T12:03:27',
'classroom_id' => 'consequatur',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/assignments'
payload = {
"title": "vmqeopfuudtdsufvyvddq",
"description": "Dolores dolorum amet iste laborum eius est dolor.",
"type": "Interrogation",
"max_score": 12,
"passing_score": 66,
"total_score": 13,
"start_date": "2025-12-11T12:03:27",
"due_date": "2025-12-11T12:03:27",
"classroom_id": "consequatur"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/assignments/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/assignments/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"vmqeopfuudtdsufvyvddq\",
\"description\": \"Dolores dolorum amet iste laborum eius est dolor.\",
\"type\": \"Devoir\",
\"max_score\": 12,
\"passing_score\": 66,
\"total_score\": 13,
\"start_date\": \"2025-12-11T12:03:27\",
\"due_date\": \"2025-12-11T12:03:27\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/assignments/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "vmqeopfuudtdsufvyvddq",
"description": "Dolores dolorum amet iste laborum eius est dolor.",
"type": "Devoir",
"max_score": 12,
"passing_score": 66,
"total_score": 13,
"start_date": "2025-12-11T12:03:27",
"due_date": "2025-12-11T12:03:27"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/assignments/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'title' => 'vmqeopfuudtdsufvyvddq',
'description' => 'Dolores dolorum amet iste laborum eius est dolor.',
'type' => 'Devoir',
'max_score' => 12,
'passing_score' => 66,
'total_score' => 13,
'start_date' => '2025-12-11T12:03:27',
'due_date' => '2025-12-11T12:03:27',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/assignments/1'
payload = {
"title": "vmqeopfuudtdsufvyvddq",
"description": "Dolores dolorum amet iste laborum eius est dolor.",
"type": "Devoir",
"max_score": 12,
"passing_score": 66,
"total_score": 13,
"start_date": "2025-12-11T12:03:27",
"due_date": "2025-12-11T12:03:27"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/assignments/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/assignments/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/assignments/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/assignments/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/assignments/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/grades/{id}
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/grades/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"score\": 17,
\"assignment_type\": \"exam\",
\"notes\": \"mqeopfuudtdsufvyvddqa\",
\"graded_at\": \"2025-12-11T12:03:27\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/grades/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"score": 17,
"assignment_type": "exam",
"notes": "mqeopfuudtdsufvyvddqa",
"graded_at": "2025-12-11T12:03:27"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/grades/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'score' => 17,
'assignment_type' => 'exam',
'notes' => 'mqeopfuudtdsufvyvddqa',
'graded_at' => '2025-12-11T12:03:27',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/grades/1'
payload = {
"score": 17,
"assignment_type": "exam",
"notes": "mqeopfuudtdsufvyvddqa",
"graded_at": "2025-12-11T12:03:27"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1.0.0/grades/{id}
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/grades/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/grades/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/grades/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/grades/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1.0.0/classrooms/{classroom_id}/enrollments
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/classrooms/1/enrollments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_ids\": [
17
],
\"school_year\": \"mqeopfuudtdsufvyv\",
\"enrolled_at\": \"2025-12-11T12:03:27\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/enrollments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_ids": [
17
],
"school_year": "mqeopfuudtdsufvyv",
"enrolled_at": "2025-12-11T12:03:27"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/enrollments';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'student_ids' => [
17,
],
'school_year' => 'mqeopfuudtdsufvyv',
'enrolled_at' => '2025-12-11T12:03:27',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/enrollments'
payload = {
"student_ids": [
17
],
"school_year": "mqeopfuudtdsufvyv",
"enrolled_at": "2025-12-11T12:03:27"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /classrooms/{classroom}/subjects Body: { subject_id, coefficient, school_year_id? } Assigner une matière à une classe
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/classrooms/1/subjects" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject_id\": \"consequatur\",
\"coefficient\": 5
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/subjects"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject_id": "consequatur",
"coefficient": 5
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/subjects';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'subject_id' => 'consequatur',
'coefficient' => 5,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/subjects'
payload = {
"subject_id": "consequatur",
"coefficient": 5
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT /classrooms/{classroom}/subjects/{subject} Body: { coefficient, school_year_id? } Mettre à jour le coefficient d'une matière
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/classrooms/1/subjects/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"coefficient\": 9
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/subjects/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"coefficient": 9
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/subjects/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'coefficient' => 9,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/subjects/1'
payload = {
"coefficient": 9
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE /classrooms/{classroom}/subjects/{subject}?school_year_id=X Retirer une matière d'une classe
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/classrooms/1/subjects/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/subjects/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/subjects/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/subjects/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST /classrooms/{classroom}/subjects/copy Body: { from_year_id, to_year_id } Copier le programme d'une année à une autre
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/classrooms/1/subjects/copy" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"from_year_id\": \"consequatur\",
\"to_year_id\": \"consequatur\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/subjects/copy"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"from_year_id": "consequatur",
"to_year_id": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/subjects/copy';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'from_year_id' => 'consequatur',
'to_year_id' => 'consequatur',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/subjects/copy'
payload = {
"from_year_id": "consequatur",
"to_year_id": "consequatur"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/classrooms/{classroom_id}/subjects
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/classrooms/1/subjects" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject_ids\": [
17
]
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/subjects"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject_ids": [
17
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/subjects';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'subject_ids' => [
17,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/subjects'
payload = {
"subject_ids": [
17
]
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/v1.0.0/classrooms/{classroom_id}/assign-teachers
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/classrooms/1/assign-teachers" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"subject_id\": 17,
\"teacher_ids\": [
17
]
}"
const url = new URL(
"http://localhost/api/v1.0.0/classrooms/1/assign-teachers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject_id": 17,
"teacher_ids": [
17
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/classrooms/1/assign-teachers';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'subject_id' => 17,
'teacher_ids' => [
17,
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/classrooms/1/assign-teachers'
payload = {
"subject_id": 17,
"teacher_ids": [
17
]
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Generate a report card for a student and a specific period/term.
requires authentication
This is a simplified version. In a real app, you'd calculate averages here.
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/students/1/report-cards/generate" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"school_year_id\": \"consequatur\",
\"title\": \"consequatur\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/students/1/report-cards/generate"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"school_year_id": "consequatur",
"title": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/report-cards/generate';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'school_year_id' => 'consequatur',
'title' => 'consequatur',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/report-cards/generate'
payload = {
"school_year_id": "consequatur",
"title": "consequatur"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get student payments and balance
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/payment-details" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/payment-details"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/payment-details';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/payment-details'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get financial balance for a student
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/balance" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/balance"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/balance';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/balance'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get payments history for a student
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/students/1/payments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/students/1/payments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/students/1/payments';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/students/1/payments'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
List all payments
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/payments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/payments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/payments';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/payments'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Record a new payment
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/payments" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"consequatur\",
\"amount\": 45,
\"payment_date\": \"2025-12-11T12:03:28\",
\"type\": \"consequatur\",
\"notes\": \"consequatur\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/payments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "consequatur",
"amount": 45,
"payment_date": "2025-12-11T12:03:28",
"type": "consequatur",
"notes": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/payments';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'student_id' => 'consequatur',
'amount' => 45,
'payment_date' => '2025-12-11T12:03:28',
'type' => 'consequatur',
'notes' => 'consequatur',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/payments'
payload = {
"student_id": "consequatur",
"amount": 45,
"payment_date": "2025-12-11T12:03:28",
"type": "consequatur",
"notes": "consequatur"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get payment details
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/payments/17" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/payments/17"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/payments/17';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/payments/17'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Generate receipt PDF (Placeholder for now)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/payments/17/receipt" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/payments/17/receipt"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/payments/17/receipt';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/payments/17/receipt'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Liste des utilisateurs avec scope de sécurité (Admin vs Directeur)
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/users" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/users';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/users'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Créer un nouvel utilisateur
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/users" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vmqeopfuudtdsufvyvddq\",
\"email\": \"kunde.eloisa@example.com\",
\"phone\": \"hfqcoynlazghdtqtq\",
\"role\": \"directeur\"
}"
const url = new URL(
"http://localhost/api/v1.0.0/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vmqeopfuudtdsufvyvddq",
"email": "kunde.eloisa@example.com",
"phone": "hfqcoynlazghdtqtq",
"role": "directeur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/users';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'name' => 'vmqeopfuudtdsufvyvddq',
'email' => 'kunde.eloisa@example.com',
'phone' => 'hfqcoynlazghdtqtq',
'role' => 'directeur',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/users'
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"email": "kunde.eloisa@example.com",
"phone": "hfqcoynlazghdtqtq",
"role": "directeur"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Supprimer un utilisateur
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/users/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/users/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/users/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of the resource.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/schools" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/schools"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schools';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schools'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created resource in storage.
requires authentication
Example request:
curl --request POST \
"http://localhost/api/v1.0.0/schools" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=vmqeopfuudtdsufvyvddq"\
--form "address=amniihfqcoynlazghdtqt"\
--form "phone=qxbajwbpilpmufinl"\
--form "email=imogene.mante@example.com"\
--form "logo=@C:\Users\user\AppData\Local\Temp\php8575.tmp" const url = new URL(
"http://localhost/api/v1.0.0/schools"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'vmqeopfuudtdsufvyvddq');
body.append('address', 'amniihfqcoynlazghdtqt');
body.append('phone', 'qxbajwbpilpmufinl');
body.append('email', 'imogene.mante@example.com');
body.append('logo', document.querySelector('input[name="logo"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schools';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'multipart/form-data',
'Accept' => 'application/json',
],
'multipart' => [
[
'name' => 'name',
'contents' => 'vmqeopfuudtdsufvyvddq'
],
[
'name' => 'address',
'contents' => 'amniihfqcoynlazghdtqt'
],
[
'name' => 'phone',
'contents' => 'qxbajwbpilpmufinl'
],
[
'name' => 'email',
'contents' => 'imogene.mante@example.com'
],
[
'name' => 'logo',
'contents' => fopen('C:\Users\user\AppData\Local\Temp\php8575.tmp', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schools'
files = {
'name': (None, 'vmqeopfuudtdsufvyvddq'),
'address': (None, 'amniihfqcoynlazghdtqt'),
'phone': (None, 'qxbajwbpilpmufinl'),
'email': (None, 'imogene.mante@example.com'),
'logo': open('C:\Users\user\AppData\Local\Temp\php8575.tmp', 'rb')}
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"address": "amniihfqcoynlazghdtqt",
"phone": "qxbajwbpilpmufinl",
"email": "imogene.mante@example.com"
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'multipart/form-data',
'Accept': 'application/json'
}
response = requests.request('POST', url, headers=headers, files=files)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified resource.
requires authentication
Example request:
curl --request GET \
--get "http://localhost/api/v1.0.0/schools/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/schools/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schools/1';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schools/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
vary: Origin
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified resource in storage.
requires authentication
Example request:
curl --request PUT \
"http://localhost/api/v1.0.0/schools/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=vmqeopfuudtdsufvyvddq"\
--form "address=amniihfqcoynlazghdtqt"\
--form "phone=qxbajwbpilpmufinl"\
--form "email=imogene.mante@example.com"\
--form "is_active="\
--form "logo=@C:\Users\user\AppData\Local\Temp\php8585.tmp" const url = new URL(
"http://localhost/api/v1.0.0/schools/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'vmqeopfuudtdsufvyvddq');
body.append('address', 'amniihfqcoynlazghdtqt');
body.append('phone', 'qxbajwbpilpmufinl');
body.append('email', 'imogene.mante@example.com');
body.append('is_active', '');
body.append('logo', document.querySelector('input[name="logo"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schools/1';
$response = $client->put(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'multipart/form-data',
'Accept' => 'application/json',
],
'multipart' => [
[
'name' => 'name',
'contents' => 'vmqeopfuudtdsufvyvddq'
],
[
'name' => 'address',
'contents' => 'amniihfqcoynlazghdtqt'
],
[
'name' => 'phone',
'contents' => 'qxbajwbpilpmufinl'
],
[
'name' => 'email',
'contents' => 'imogene.mante@example.com'
],
[
'name' => 'is_active',
'contents' => ''
],
[
'name' => 'logo',
'contents' => fopen('C:\Users\user\AppData\Local\Temp\php8585.tmp', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schools/1'
files = {
'name': (None, 'vmqeopfuudtdsufvyvddq'),
'address': (None, 'amniihfqcoynlazghdtqt'),
'phone': (None, 'qxbajwbpilpmufinl'),
'email': (None, 'imogene.mante@example.com'),
'is_active': (None, ''),
'logo': open('C:\Users\user\AppData\Local\Temp\php8585.tmp', 'rb')}
payload = {
"name": "vmqeopfuudtdsufvyvddq",
"address": "amniihfqcoynlazghdtqt",
"phone": "qxbajwbpilpmufinl",
"email": "imogene.mante@example.com",
"is_active": false
}
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'multipart/form-data',
'Accept': 'application/json'
}
response = requests.request('PUT', url, headers=headers, files=files)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified resource from storage.
requires authentication
Example request:
curl --request DELETE \
"http://localhost/api/v1.0.0/schools/1" \
--header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/v1.0.0/schools/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$url = 'http://localhost/api/v1.0.0/schools/1';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));import requests
import json
url = 'http://localhost/api/v1.0.0/schools/1'
headers = {
'Authorization': 'Bearer {YOUR_AUTH_TOKEN}',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('DELETE', url, headers=headers)
response.json()Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.