Introduction
This documentation aims to provide all the information you need to work with our API.
<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Authentication
APIs for User authentication
Authenticate user
Example request:
curl --request POST \
"http://localhost/api/auth/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"architecto\",
\"password\": \"|]|{+-\",
\"device_name\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/auth/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "architecto",
"password": "|]|{+-",
"device_name": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Invalidate user tokens
Example request:
curl --request POST \
"http://localhost/api/auth/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/auth/logout"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/auth/verify-email/{id}/{hash}
Example request:
curl --request GET \
--get "http://localhost/api/auth/verify-email/architecto/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/auth/verify-email/architecto/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Invalid token: Token is null"
}
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/auth/email-verification-notification
Example request:
curl --request POST \
"http://localhost/api/auth/email-verification-notification" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/auth/email-verification-notification"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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.
Confirm password
requires authentication
Example request:
curl --request POST \
"http://localhost/api/auth/confirm-password" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"password\": \"|]|{+-\"
}"
const url = new URL(
"http://localhost/api/auth/confirm-password"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"password": "|]|{+-"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Register new student
Example request:
curl --request POST \
"http://localhost/api/signup/student" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"architecto\",
\"avatar\": \"architecto\",
\"firstname\": \"architecto\",
\"lastname\": \"architecto\",
\"email\": \"gbailey@example.net\",
\"phone\": \"architecto\",
\"country\": \"architecto\",
\"password\": \"|]|{+-\",
\"plan\": \"architecto\",
\"password_confirmation\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/signup/student"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "architecto",
"avatar": "architecto",
"firstname": "architecto",
"lastname": "architecto",
"email": "gbailey@example.net",
"phone": "architecto",
"country": "architecto",
"password": "|]|{+-",
"plan": "architecto",
"password_confirmation": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Register new instructor
Example request:
curl --request POST \
"http://localhost/api/signup/instructor" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=architecto"\
--form "avatar=architecto"\
--form "firstname=architecto"\
--form "lastname=architecto"\
--form "email=gbailey@example.net"\
--form "phone=architecto"\
--form "country=architecto"\
--form "password=|]|{+-"\
--form "national_id=architecto"\
--form "education_level=architecto"\
--form "occupation=architecto"\
--form "expertise=architecto"\
--form "password_confirmation=architecto"\
--form "resume=@C:\Users\Augustine\AppData\Local\Temp\php80E.tmp" const url = new URL(
"http://localhost/api/signup/instructor"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'architecto');
body.append('avatar', 'architecto');
body.append('firstname', 'architecto');
body.append('lastname', 'architecto');
body.append('email', 'gbailey@example.net');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('password', '|]|{+-');
body.append('national_id', 'architecto');
body.append('education_level', 'architecto');
body.append('occupation', 'architecto');
body.append('expertise', 'architecto');
body.append('password_confirmation', 'architecto');
body.append('resume', document.querySelector('input[name="resume"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
B2B institution management
APIs for managing institutions
Display a listing of the institutions.
Example request:
curl --request GET \
--get "http://localhost/api/institution" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/institution"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Create a new b2b institution.
Example request:
curl --request POST \
"http://localhost/api/institution" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"instructor_id\": \"architecto\",
\"name\": \"architecto\",
\"type\": \"educational\"
}"
const url = new URL(
"http://localhost/api/institution"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"instructor_id": "architecto",
"name": "architecto",
"type": "educational"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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 institution.
Example request:
curl --request GET \
--get "http://localhost/api/institution/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/institution/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 institution in storage.
Example request:
curl --request PUT \
"http://localhost/api/institution/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"architecto\",
\"type\": \"educational\"
}"
const url = new URL(
"http://localhost/api/institution/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "architecto",
"type": "educational"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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 institution from storage.
Example request:
curl --request DELETE \
"http://localhost/api/institution/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/institution/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Add user to instution student list
Example request:
curl --request POST \
"http://localhost/api/institution/add-member" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"architecto\",
\"institution_id\": \"architecto\",
\"code\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/institution/add-member"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "architecto",
"institution_id": "architecto",
"code": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Community Post Report management
Api for managing community forum posts violation reports
report community post
Example request:
curl --request POST \
"http://localhost/api/student/community/report-post" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reported_by\": \"architecto\",
\"post_id\": \"architecto\",
\"type\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/report-post"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reported_by": "architecto",
"post_id": "architecto",
"type": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
report community post comment
Example request:
curl --request POST \
"http://localhost/api/student/community/report-comment" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reported_by\": \"architecto\",
\"comment_id\": \"architecto\",
\"type\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/report-comment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reported_by": "architecto",
"comment_id": "architecto",
"type": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
report community reply post
Example request:
curl --request POST \
"http://localhost/api/student/community/report-reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reported_by\": \"architecto\",
\"reply_id\": \"architecto\",
\"type\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/report-reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reported_by": "architecto",
"reply_id": "architecto",
"type": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
report community post
Example request:
curl --request POST \
"http://localhost/api/instructor/community/report-post" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reported_by\": \"architecto\",
\"post_id\": \"architecto\",
\"type\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/community/report-post"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reported_by": "architecto",
"post_id": "architecto",
"type": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
report community post comment
Example request:
curl --request POST \
"http://localhost/api/instructor/community/report-comment" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reported_by\": \"architecto\",
\"comment_id\": \"architecto\",
\"type\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/community/report-comment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reported_by": "architecto",
"comment_id": "architecto",
"type": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
report community reply post
Example request:
curl --request POST \
"http://localhost/api/instructor/community/report-reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reported_by\": \"architecto\",
\"reply_id\": \"architecto\",
\"type\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/community/report-reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reported_by": "architecto",
"reply_id": "architecto",
"type": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Community management
APIs for managing community content
fetch course community forums for specified student
Example request:
curl --request GET \
--get "http://localhost/api/student/community/fetch-forums/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/fetch-forums/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 36
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
fetch Posts for specified course
Example request:
curl --request GET \
--get "http://localhost/api/student/community/fetch-posts/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/fetch-posts/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 35
access-control-allow-origin: *
[]
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.
Fetch course community forum activity feed
Example request:
curl --request GET \
--get "http://localhost/api/student/community/fetch-activity-feed/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/fetch-activity-feed/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 34
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] architecto"
}
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.
fetch comments/responses for specified post
Example request:
curl --request GET \
--get "http://localhost/api/student/community/fetch-responses/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/fetch-responses/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 33
access-control-allow-origin: *
[]
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.
fetch Replies for specified comment/response
Example request:
curl --request GET \
--get "http://localhost/api/student/community/fetch-response-replies/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/fetch-response-replies/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 32
access-control-allow-origin: *
[]
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.
create community post
Example request:
curl --request POST \
"http://localhost/api/student/community/create-post" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"course_id\": \"architecto\",
\"content\": \"architecto\",
\"image\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/create-post"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"course_id": "architecto",
"content": "architecto",
"image": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
create Post in specified course Forum
Example request:
curl --request POST \
"http://localhost/api/student/community/forum/architecto/create-post" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"content\": \"architecto\",
\"image\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/forum/architecto/create-post"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"content": "architecto",
"image": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Create a comment/response to a post
Example request:
curl --request POST \
"http://localhost/api/student/community/create-response" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"post_id\": \"architecto\",
\"user_id\": \"architecto\",
\"course_id\": \"architecto\",
\"comment\": \"architecto\",
\"image\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/create-response"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"post_id": "architecto",
"user_id": "architecto",
"course_id": "architecto",
"comment": "architecto",
"image": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Vote for post comment/response
Example request:
curl --request POST \
"http://localhost/api/student/community/vote-response" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"response_id\": \"architecto\",
\"user_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/vote-response"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"response_id": "architecto",
"user_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Create a comment/reply to a post comment/response
Example request:
curl --request POST \
"http://localhost/api/student/community/create-response-reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment_id\": \"architecto\",
\"user_id\": \"architecto\",
\"reply\": \"architecto\",
\"image\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/create-response-reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment_id": "architecto",
"user_id": "architecto",
"reply": "architecto",
"image": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Vote for post comment/response
Example request:
curl --request POST \
"http://localhost/api/student/community/vote-response-reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reply_id\": \"architecto\",
\"user_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/community/vote-response-reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reply_id": "architecto",
"user_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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 community Post
Example request:
curl --request DELETE \
"http://localhost/api/student/community/delete-post/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/delete-post/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 specified comment/response
Example request:
curl --request DELETE \
"http://localhost/api/student/community/delete-response/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/delete-response/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 specified comment/response reply
Example request:
curl --request DELETE \
"http://localhost/api/student/community/delete-response-reply/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/delete-response-reply/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Retrieve post using slug
Example request:
curl --request GET \
--get "http://localhost/api/student/community/fetch-post-details/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/community/fetch-post-details/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 31
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CommunityPost] architecto"
}
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.
Fetch course community forum activity feed
Example request:
curl --request GET \
--get "http://localhost/api/instructor/community/fetch-activity-feed/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/community/fetch-activity-feed/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 4
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] architecto"
}
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.
Create a comment/response to a post
Example request:
curl --request POST \
"http://localhost/api/instructor/community/create-response" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"post_id\": \"architecto\",
\"user_id\": \"architecto\",
\"course_id\": \"architecto\",
\"comment\": \"architecto\",
\"image\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/community/create-response"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"post_id": "architecto",
"user_id": "architecto",
"course_id": "architecto",
"comment": "architecto",
"image": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Vote for post comment/response
Example request:
curl --request POST \
"http://localhost/api/instructor/community/vote-response" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"response_id\": \"architecto\",
\"user_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/community/vote-response"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"response_id": "architecto",
"user_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Create a comment/reply to a post comment/response
Example request:
curl --request POST \
"http://localhost/api/instructor/community/create-response-reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment_id\": \"architecto\",
\"user_id\": \"architecto\",
\"reply\": \"architecto\",
\"image\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/community/create-response-reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"comment_id": "architecto",
"user_id": "architecto",
"reply": "architecto",
"image": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Vote for post comment/response
Example request:
curl --request POST \
"http://localhost/api/instructor/community/vote-response-reply" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reply_id\": \"architecto\",
\"user_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/community/vote-response-reply"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reply_id": "architecto",
"user_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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 community Post
Example request:
curl --request DELETE \
"http://localhost/api/instructor/community/delete-post/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/community/delete-post/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 specified comment/response
Example request:
curl --request DELETE \
"http://localhost/api/instructor/community/delete-response/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/community/delete-response/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 specified comment/response reply
Example request:
curl --request DELETE \
"http://localhost/api/instructor/community/delete-response-reply/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/community/delete-response-reply/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Retrieve post using slug
Example request:
curl --request GET \
--get "http://localhost/api/instructor/community/fetch-post-details/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/community/fetch-post-details/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 3
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CommunityPost] architecto"
}
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.
fetch comments/responses for specified post
Example request:
curl --request GET \
--get "http://localhost/api/instructor/community/fetch-responses/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/community/fetch-responses/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 2
access-control-allow-origin: *
[]
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.
Course Basket management
APIs for managing course basket
add Item to student course basket
Example request:
curl --request POST \
"http://localhost/api/student/basket/add-item/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/basket/add-item/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"course_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/student/basket/update-item-subscription/{item_id}
Example request:
curl --request POST \
"http://localhost/api/student/basket/update-item-subscription/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_subscription\": true,
\"price\": 4326.41688,
\"plan_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/basket/update-item-subscription/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_subscription": true,
"price": 4326.41688,
"plan_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
fetch number of Items in course basket
Example request:
curl --request GET \
--get "http://localhost/api/student/basket/fetch-items-number/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/basket/fetch-items-number/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 38
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Fetch student course basket content
Example request:
curl --request GET \
--get "http://localhost/api/student/basket/fetch-items/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/basket/fetch-items/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 37
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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 Item from student course basket
Example request:
curl --request DELETE \
"http://localhost/api/student/basket/16/delete-item/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/basket/16/delete-item/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Course curriculum lesson management
APIs for managing course curriculum lessons
POST api/instructor/courses/lessons/{course_id}
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/lessons/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "type=lesson"\
--form "order=16"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "duration=architecto"\
--form "lesson=@C:\Users\Augustine\AppData\Local\Temp\php241.tmp" \
--form "thumbnail=@C:\Users\Augustine\AppData\Local\Temp\php242.tmp" const url = new URL(
"http://localhost/api/instructor/courses/lessons/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('type', 'lesson');
body.append('order', '16');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('duration', 'architecto');
body.append('lesson', document.querySelector('input[name="lesson"]').files[0]);
body.append('thumbnail', document.querySelector('input[name="thumbnail"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/lessons/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=b"\
--form "description=Eius et animi quos velit et."\
--form "duration=architecto"\
--form "lesson=@C:\Users\Augustine\AppData\Local\Temp\php243.tmp" \
--form "thumbnail=@C:\Users\Augustine\AppData\Local\Temp\php244.tmp" const url = new URL(
"http://localhost/api/instructor/courses/lessons/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'b');
body.append('description', 'Eius et animi quos velit et.');
body.append('duration', 'architecto');
body.append('lesson', document.querySelector('input[name="lesson"]').files[0]);
body.append('thumbnail', document.querySelector('input[name="thumbnail"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Update the specified resource in storage.
Example request:
curl --request PATCH \
"http://localhost/api/instructor/courses/lessons/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=b"\
--form "description=Eius et animi quos velit et."\
--form "duration=architecto"\
--form "lesson=@C:\Users\Augustine\AppData\Local\Temp\php255.tmp" \
--form "thumbnail=@C:\Users\Augustine\AppData\Local\Temp\php256.tmp" const url = new URL(
"http://localhost/api/instructor/courses/lessons/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'b');
body.append('description', 'Eius et animi quos velit et.');
body.append('duration', 'architecto');
body.append('lesson', document.querySelector('input[name="lesson"]').files[0]);
body.append('thumbnail', document.querySelector('input[name="thumbnail"]').files[0]);
fetch(url, {
method: "PATCH",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/lessons/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/lessons/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Course curriculum sessions/live class management
APIs for managing curriculum live class
Register/book live class/session
Example request:
curl --request POST \
"http://localhost/api/student/courses/session/book" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"class_id\": \"architecto\",
\"student_id\": \"architecto\",
\"enrollment_email\": \"zbailey@example.net\"
}"
const url = new URL(
"http://localhost/api/student/courses/session/book"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"class_id": "architecto",
"student_id": "architecto",
"enrollment_email": "zbailey@example.net"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Fetch active/current live class/session
Example request:
curl --request GET \
--get "http://localhost/api/student/courses/session/available" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/courses/session/available"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 49
access-control-allow-origin: *
[]
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.
Fetch live class/session for specified instrutor
Example request:
curl --request GET \
--get "http://localhost/api/instructor/sessions/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/sessions/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 19
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Instructor] architecto"
}
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.
Create a new session/live class for specified course
Example request:
curl --request POST \
"http://localhost/api/instructor/sessions/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "title=b"\
--form "session_category=n"\
--form "date=2051-09-15"\
--form "time=12:15"\
--form "link=architecto"\
--form "class_detials=architecto"\
--form "poster=@C:\Users\Augustine\AppData\Local\Temp\php1AD.tmp" const url = new URL(
"http://localhost/api/instructor/sessions/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('title', 'b');
body.append('session_category', 'n');
body.append('date', '2051-09-15');
body.append('time', '12:15');
body.append('link', 'architecto');
body.append('class_detials', 'architecto');
body.append('poster', document.querySelector('input[name="poster"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Update the specified session/live class.
Example request:
curl --request PUT \
"http://localhost/api/instructor/sessions/update/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "title=b"\
--form "session_category=n"\
--form "date=2051-09-15"\
--form "time=12:15"\
--form "link=architecto"\
--form "class_detials=architecto"\
--form "poster=@C:\Users\Augustine\AppData\Local\Temp\php1BD.tmp" const url = new URL(
"http://localhost/api/instructor/sessions/update/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('title', 'b');
body.append('session_category', 'n');
body.append('date', '2051-09-15');
body.append('time', '12:15');
body.append('link', 'architecto');
body.append('class_detials', 'architecto');
body.append('poster', document.querySelector('input[name="poster"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 the specified session/live class from storage.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/sessions/delete/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/sessions/delete/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Fetch class student enrollment list
Example request:
curl --request GET \
--get "http://localhost/api/instructor/sessions/registered-students/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/sessions/registered-students/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 18
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\LiveSession] architecto"
}
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 sessions/live classess.
Example request:
curl --request GET \
--get "http://localhost/api/sessions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/sessions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Create a new session/live class.
Example request:
curl --request POST \
"http://localhost/api/sessions" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "title=b"\
--form "session_category=n"\
--form "date=2051-09-15"\
--form "time=12:15"\
--form "link=architecto"\
--form "class_detials=architecto"\
--form "poster=@C:\Users\Augustine\AppData\Local\Temp\php5F8.tmp" const url = new URL(
"http://localhost/api/sessions"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('title', 'b');
body.append('session_category', 'n');
body.append('date', '2051-09-15');
body.append('time', '12:15');
body.append('link', 'architecto');
body.append('class_detials', 'architecto');
body.append('poster', document.querySelector('input[name="poster"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 session/live class.
Example request:
curl --request GET \
--get "http://localhost/api/sessions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/sessions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 session/live class.
Example request:
curl --request PUT \
"http://localhost/api/sessions/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "title=b"\
--form "session_category=n"\
--form "date=2051-09-15"\
--form "time=12:15"\
--form "link=architecto"\
--form "class_detials=architecto"\
--form "poster=@C:\Users\Augustine\AppData\Local\Temp\php609.tmp" const url = new URL(
"http://localhost/api/sessions/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('title', 'b');
body.append('session_category', 'n');
body.append('date', '2051-09-15');
body.append('time', '12:15');
body.append('link', 'architecto');
body.append('class_detials', 'architecto');
body.append('poster', document.querySelector('input[name="poster"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 the specified session/live class from storage.
Example request:
curl --request DELETE \
"http://localhost/api/sessions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/sessions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Course management
APIs for managing courses
Store a newly created course in storage.
Example request:
curl --request POST \
"http://localhost/api/instructor/courses" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=architecto"\
--form "instructor_id=architecto"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "level=advanced"\
--form "duration=v"\
--form "price=16"\
--form "allow_subscription=1"\
--form "number_of_lessons=22"\
--form "skill[]=architecto"\
--form "coverimage=@C:\Users\Augustine\AppData\Local\Temp\php1ED.tmp" \
--form "introvideo=@C:\Users\Augustine\AppData\Local\Temp\php1EE.tmp" const url = new URL(
"http://localhost/api/instructor/courses"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category_id', 'architecto');
body.append('instructor_id', 'architecto');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('level', 'advanced');
body.append('duration', 'v');
body.append('price', '16');
body.append('allow_subscription', '1');
body.append('number_of_lessons', '22');
body.append('skill[]', 'architecto');
body.append('coverimage', document.querySelector('input[name="coverimage"]').files[0]);
body.append('introvideo', document.querySelector('input[name="introvideo"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Fetch instructor course created by instructor
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/all/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/all/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 17
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Instructor] architecto"
}
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.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 16
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] 16"
}
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.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=architecto"\
--form "instructor_id=architecto"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "level=intermediate"\
--form "duration=v"\
--form "price=16"\
--form "number_of_lessons=22"\
--form "allow_subscription="\
--form "skill[]=architecto"\
--form "coverimage=@C:\Users\Augustine\AppData\Local\Temp\php21E.tmp" \
--form "introvideo=@C:\Users\Augustine\AppData\Local\Temp\php21F.tmp" const url = new URL(
"http://localhost/api/instructor/courses/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category_id', 'architecto');
body.append('instructor_id', 'architecto');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('level', 'intermediate');
body.append('duration', 'v');
body.append('price', '16');
body.append('number_of_lessons', '22');
body.append('allow_subscription', '');
body.append('skill[]', 'architecto');
body.append('coverimage', document.querySelector('input[name="coverimage"]').files[0]);
body.append('introvideo', document.querySelector('input[name="introvideo"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Update the specified resource in storage.
Example request:
curl --request PATCH \
"http://localhost/api/instructor/courses/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=architecto"\
--form "instructor_id=architecto"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "level=intermediate"\
--form "duration=v"\
--form "price=16"\
--form "number_of_lessons=22"\
--form "allow_subscription=1"\
--form "skill[]=architecto"\
--form "coverimage=@C:\Users\Augustine\AppData\Local\Temp\php220.tmp" \
--form "introvideo=@C:\Users\Augustine\AppData\Local\Temp\php231.tmp" const url = new URL(
"http://localhost/api/instructor/courses/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category_id', 'architecto');
body.append('instructor_id', 'architecto');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('level', 'intermediate');
body.append('duration', 'v');
body.append('price', '16');
body.append('number_of_lessons', '22');
body.append('allow_subscription', '1');
body.append('skill[]', 'architecto');
body.append('coverimage', document.querySelector('input[name="coverimage"]').files[0]);
body.append('introvideo', document.querySelector('input[name="introvideo"]').files[0]);
fetch(url, {
method: "PATCH",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 enrolled student for course
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/enrolled-student/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/enrolled-student/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 15
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] architecto"
}
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/instructor/courses/reorder-curriculum
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/reorder-curriculum" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"curriculum\": [
{
\"course_id\": \"architecto\",
\"id\": \"architecto\",
\"type\": \"test\",
\"order\": \"architecto\"
}
]
}"
const url = new URL(
"http://localhost/api/instructor/courses/reorder-curriculum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"curriculum": [
{
"course_id": "architecto",
"id": "architecto",
"type": "test",
"order": "architecto"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Fetch course performance data
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/performance/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/performance/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 8
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] 16"
}
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 studentcertificate
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/certificate/generate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_slug\": \"architecto\",
\"student_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/courses/certificate/generate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"course_slug": "architecto",
"student_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/free-your-code/courses
Example request:
curl --request GET \
--get "http://localhost/api/free-your-code/courses" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/free-your-code/courses"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 course categories.
Example request:
curl --request GET \
--get "http://localhost/api/course/category" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/category"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 course category in storage.
Example request:
curl --request POST \
"http://localhost/api/course/category" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=architecto"\
--form "image=@C:\Users\Augustine\AppData\Local\Temp\php573.tmp" \
--form "icon_image=@C:\Users\Augustine\AppData\Local\Temp\php574.tmp" const url = new URL(
"http://localhost/api/course/category"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'architecto');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('icon_image', document.querySelector('input[name="icon_image"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 course category.
Example request:
curl --request GET \
--get "http://localhost/api/course/category/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/category/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 course category in storage.
Example request:
curl --request PUT \
"http://localhost/api/course/category/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=architecto"\
--form "image=@C:\Users\Augustine\AppData\Local\Temp\php585.tmp" \
--form "icon_image=@C:\Users\Augustine\AppData\Local\Temp\php586.tmp" const url = new URL(
"http://localhost/api/course/category/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'architecto');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('icon_image', document.querySelector('input[name="icon_image"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 course category from storage.
Example request:
curl --request DELETE \
"http://localhost/api/course/category/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/category/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 courses.
Example request:
curl --request GET \
--get "http://localhost/api/course?search=UI%2FUX" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course"
);
const params = {
"search": "UI/UX",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 course in storage.
Example request:
curl --request POST \
"http://localhost/api/course" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=architecto"\
--form "instructor_id=architecto"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "level=advanced"\
--form "duration=v"\
--form "price=16"\
--form "allow_subscription="\
--form "number_of_lessons=22"\
--form "skill[]=architecto"\
--form "coverimage=@C:\Users\Augustine\AppData\Local\Temp\php597.tmp" \
--form "introvideo=@C:\Users\Augustine\AppData\Local\Temp\php598.tmp" const url = new URL(
"http://localhost/api/course"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category_id', 'architecto');
body.append('instructor_id', 'architecto');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('level', 'advanced');
body.append('duration', 'v');
body.append('price', '16');
body.append('allow_subscription', '');
body.append('number_of_lessons', '22');
body.append('skill[]', 'architecto');
body.append('coverimage', document.querySelector('input[name="coverimage"]').files[0]);
body.append('introvideo', document.querySelector('input[name="introvideo"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/course/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request PUT \
"http://localhost/api/course/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=architecto"\
--form "instructor_id=architecto"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "level=advanced"\
--form "duration=v"\
--form "price=16"\
--form "number_of_lessons=22"\
--form "allow_subscription=1"\
--form "skill[]=architecto"\
--form "coverimage=@C:\Users\Augustine\AppData\Local\Temp\php5A8.tmp" \
--form "introvideo=@C:\Users\Augustine\AppData\Local\Temp\php5A9.tmp" const url = new URL(
"http://localhost/api/course/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category_id', 'architecto');
body.append('instructor_id', 'architecto');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('level', 'advanced');
body.append('duration', 'v');
body.append('price', '16');
body.append('number_of_lessons', '22');
body.append('allow_subscription', '1');
body.append('skill[]', 'architecto');
body.append('coverimage', document.querySelector('input[name="coverimage"]').files[0]);
body.append('introvideo', document.querySelector('input[name="introvideo"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/course/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/course/curriculum" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/curriculum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request POST \
"http://localhost/api/course/curriculum" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/curriculum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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 curriculum/lesson.
Example request:
curl --request GET \
--get "http://localhost/api/course/curriculum/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/curriculum/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request PUT \
"http://localhost/api/course/curriculum/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/curriculum/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/course/curriculum/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/curriculum/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Fetch instructor course created by instructor
Example request:
curl --request GET \
--get "http://localhost/api/course/instructor/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/instructor/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/course/enroll-student
Example request:
curl --request POST \
"http://localhost/api/course/enroll-student" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"course_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/course/enroll-student"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"course_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/course/caricula" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request POST \
"http://localhost/api/course/caricula" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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 curriculum/lesson.
Example request:
curl --request GET \
--get "http://localhost/api/course/caricula/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request PUT \
"http://localhost/api/course/caricula/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/course/caricula/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 course categories.
Example request:
curl --request GET \
--get "http://localhost/api/admin/course/category" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course/category"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 course category in storage.
Example request:
curl --request POST \
"http://localhost/api/admin/course/category" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=architecto"\
--form "image=@C:\Users\Augustine\AppData\Local\Temp\php60A.tmp" \
--form "icon_image=@C:\Users\Augustine\AppData\Local\Temp\php60B.tmp" const url = new URL(
"http://localhost/api/admin/course/category"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'architecto');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('icon_image', document.querySelector('input[name="icon_image"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 course category.
Example request:
curl --request GET \
--get "http://localhost/api/admin/course/category/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course/category/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 course category in storage.
Example request:
curl --request PUT \
"http://localhost/api/admin/course/category/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=architecto"\
--form "image=@C:\Users\Augustine\AppData\Local\Temp\php61C.tmp" \
--form "icon_image=@C:\Users\Augustine\AppData\Local\Temp\php61D.tmp" const url = new URL(
"http://localhost/api/admin/course/category/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'architecto');
body.append('image', document.querySelector('input[name="image"]').files[0]);
body.append('icon_image', document.querySelector('input[name="icon_image"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 course category from storage.
Example request:
curl --request DELETE \
"http://localhost/api/admin/course/category/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course/category/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 courses.
Example request:
curl --request GET \
--get "http://localhost/api/admin/course?search=UI%2FUX" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course"
);
const params = {
"search": "UI/UX",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 course in storage.
Example request:
curl --request POST \
"http://localhost/api/admin/course" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=architecto"\
--form "instructor_id=architecto"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "level=intermediate"\
--form "duration=v"\
--form "price=16"\
--form "allow_subscription=1"\
--form "number_of_lessons=22"\
--form "skill[]=architecto"\
--form "coverimage=@C:\Users\Augustine\AppData\Local\Temp\php62D.tmp" \
--form "introvideo=@C:\Users\Augustine\AppData\Local\Temp\php62E.tmp" const url = new URL(
"http://localhost/api/admin/course"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category_id', 'architecto');
body.append('instructor_id', 'architecto');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('level', 'intermediate');
body.append('duration', 'v');
body.append('price', '16');
body.append('allow_subscription', '1');
body.append('number_of_lessons', '22');
body.append('skill[]', 'architecto');
body.append('coverimage', document.querySelector('input[name="coverimage"]').files[0]);
body.append('introvideo', document.querySelector('input[name="introvideo"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/admin/course/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request PUT \
"http://localhost/api/admin/course/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category_id=architecto"\
--form "instructor_id=architecto"\
--form "name=n"\
--form "description=Eius et animi quos velit et."\
--form "level=intermediate"\
--form "duration=v"\
--form "price=16"\
--form "number_of_lessons=22"\
--form "allow_subscription="\
--form "skill[]=architecto"\
--form "coverimage=@C:\Users\Augustine\AppData\Local\Temp\php63F.tmp" \
--form "introvideo=@C:\Users\Augustine\AppData\Local\Temp\php640.tmp" const url = new URL(
"http://localhost/api/admin/course/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category_id', 'architecto');
body.append('instructor_id', 'architecto');
body.append('name', 'n');
body.append('description', 'Eius et animi quos velit et.');
body.append('level', 'intermediate');
body.append('duration', 'v');
body.append('price', '16');
body.append('number_of_lessons', '22');
body.append('allow_subscription', '');
body.append('skill[]', 'architecto');
body.append('coverimage', document.querySelector('input[name="coverimage"]').files[0]);
body.append('introvideo', document.querySelector('input[name="introvideo"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/admin/course/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 enrolled student for course
Example request:
curl --request GET \
--get "http://localhost/api/admin/course/16/students" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course/16/students"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Enrolled student in course
Example request:
curl --request POST \
"http://localhost/api/admin/course/16/enroll-students" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/course/16/enroll-students"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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.
Fetch instructor course created by instructor
Example request:
curl --request GET \
--get "http://localhost/api/admin/instructors/architecto/course" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/instructors/architecto/course"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Customer lead management API
Api for managing customer leads
Fetch learner leads
Example request:
curl --request GET \
--get "http://localhost/api/leads/learner" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/leads/learner"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
create new learner lead
Example request:
curl --request POST \
"http://localhost/api/leads/learner" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"phone\": \"architecto\",
\"course_interest\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/leads/learner"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"phone": "architecto",
"course_interest": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Update specified learner lead
Example request:
curl --request POST \
"http://localhost/api/leads/update/learner/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"phone\": \"architecto\",
\"course_interest\": \"architecto\",
\"lead_source\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/leads/update/learner/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"phone": "architecto",
"course_interest": "architecto",
"lead_source": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Fetch course creator/instructor leads
Example request:
curl --request GET \
--get "http://localhost/api/leads/creator" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/leads/creator"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Create new course creator/instructor lead
Example request:
curl --request POST \
"http://localhost/api/leads/creator" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"phone\": \"architecto\",
\"course_interest\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/leads/creator"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"phone": "architecto",
"course_interest": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Update specified creator/instructor lead
Example request:
curl --request POST \
"http://localhost/api/leads/update/creator/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"b\",
\"email\": \"zbailey@example.net\",
\"phone\": \"architecto\",
\"course_interest\": \"architecto\",
\"lead_source\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/leads/update/creator/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "b",
"email": "zbailey@example.net",
"phone": "architecto",
"course_interest": "architecto",
"lead_source": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Fetch business (b2b) leads
Example request:
curl --request GET \
--get "http://localhost/api/leads/b2b" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/leads/b2b"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
create new business lead
Example request:
curl --request POST \
"http://localhost/api/leads/b2b" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"institution\": \"b\",
\"contact_person\": \"n\",
\"email\": \"ashly64@example.com\",
\"phone\": \"architecto\",
\"system_use\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/leads/b2b"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"institution": "b",
"contact_person": "n",
"email": "ashly64@example.com",
"phone": "architecto",
"system_use": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Update specified business lead
Example request:
curl --request POST \
"http://localhost/api/leads/update/b2b/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"institution\": \"b\",
\"contact_person\": \"ngzmiyvd\",
\"email\": \"jermaine.tillman@example.org\",
\"phone\": \"architecto\",
\"system_use\": \"architecto\",
\"lead_source\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/leads/update/b2b/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"institution": "b",
"contact_person": "ngzmiyvd",
"email": "jermaine.tillman@example.org",
"phone": "architecto",
"system_use": "architecto",
"lead_source": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Customer support managment
Api for managing client/customer support
Display a listing of all support tickets.
Example request:
curl --request GET \
--get "http://localhost/api/support" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/support"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Create a new support ticket.
Example request:
curl --request POST \
"http://localhost/api/support" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category=Payment"\
--form "customer_name=Payment"\
--form "customer_email=example@mail.com"\
--form "customer_phone=+2332345678910"\
--form "message=architecto"\
--form "file=@C:\Users\Augustine\AppData\Local\Temp\php4D3.tmp" const url = new URL(
"http://localhost/api/support"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category', 'Payment');
body.append('customer_name', 'Payment');
body.append('customer_email', 'example@mail.com');
body.append('customer_phone', '+2332345678910');
body.append('message', 'architecto');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 support ticket.
Example request:
curl --request GET \
--get "http://localhost/api/support/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/support/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 support ticket.
Example request:
curl --request PUT \
"http://localhost/api/support/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "category=architecto"\
--form "customer_name=architecto"\
--form "customer_email=gbailey@example.net"\
--form "customer_phone=architecto"\
--form "message=architecto"\
--form "file=@C:\Users\Augustine\AppData\Local\Temp\php4E4.tmp" const url = new URL(
"http://localhost/api/support/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('category', 'architecto');
body.append('customer_name', 'architecto');
body.append('customer_email', 'gbailey@example.net');
body.append('customer_phone', 'architecto');
body.append('message', 'architecto');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 support ticket.
Example request:
curl --request DELETE \
"http://localhost/api/support/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/support/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Daily Quiz management
API for managing daily quizzes
fetch daily quiz Quiz
Example request:
curl --request GET \
--get "http://localhost/api/student/daily-quiz/fetch-daily-quiz/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/daily-quiz/fetch-daily-quiz/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 30
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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/student/daily-quiz/take-daily-quiz/{quiz_id}
Example request:
curl --request GET \
--get "http://localhost/api/student/daily-quiz/take-daily-quiz/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/daily-quiz/take-daily-quiz/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 29
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\DailyQuiz] 16"
}
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.
Email Verification
APIs Email verifiaction
Send a new email verification notification.
Example request:
curl --request POST \
"http://localhost/api/email/verification-notification" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/email/verification-notification"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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.
Endpoints
GET api/student/profile/fetch-profile-screen-info/{student_user_id}
Example request:
curl --request GET \
--get "http://localhost/api/student/profile/fetch-profile-screen-info/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/profile/fetch-profile-screen-info/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 57
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Example request:
curl --request POST \
"http://localhost/api/student/courses/review" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": \"architecto\",
\"student_id\": \"architecto\",
\"comment\": \"architecto\",
\"stars\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/courses/review"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"course_id": "architecto",
"student_id": "architecto",
"comment": "architecto",
"stars": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/student/streak/get_streak/{student_user_id}
Example request:
curl --request GET \
--get "http://localhost/api/student/streak/get_streak/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/streak/get_streak/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 26
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Example request:
curl --request POST \
"http://localhost/api/student/streak/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"start_date\": \"2025-08-22T12:15:30\",
\"end_date\": \"2051-09-15\"
}"
const url = new URL(
"http://localhost/api/student/streak/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"start_date": "2025-08-22T12:15:30",
"end_date": "2051-09-15"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/student/library/{student_user_id}/books
Example request:
curl --request GET \
--get "http://localhost/api/student/library/architecto/books" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/library/architecto/books"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 25
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Fetch practice problems for given student
Example request:
curl --request GET \
--get "http://localhost/api/student/practice/problems/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/practice/problems/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 24
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Example request:
curl --request GET \
--get "http://localhost/api/student/practice-problem/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/practice-problem/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 23
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\PracticeProblem] 16"
}
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 specified file
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/files/16/download" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/files/16/download"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 14
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CourseFile] 16"
}
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.
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/files" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "course_id=architecto"\
--form "file=@C:\Users\Augustine\AppData\Local\Temp\php286.tmp" const url = new URL(
"http://localhost/api/instructor/courses/files"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('course_id', 'architecto');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/files/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/files/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 13
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CourseFile] 16"
}
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.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/files/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "file=@C:\Users\Augustine\AppData\Local\Temp\php297.tmp" const url = new URL(
"http://localhost/api/instructor/courses/files/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/files/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/files/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/books" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "course_id=architecto"\
--form "name=n"\
--form "author=g"\
--form "downloadable="\
--form "book=@C:\Users\Augustine\AppData\Local\Temp\php2A7.tmp" \
--form "book_cover=@C:\Users\Augustine\AppData\Local\Temp\php2A8.tmp" const url = new URL(
"http://localhost/api/instructor/courses/books"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('course_id', 'architecto');
body.append('name', 'n');
body.append('author', 'g');
body.append('downloadable', '');
body.append('book', document.querySelector('input[name="book"]').files[0]);
body.append('book_cover', document.querySelector('input[name="book_cover"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/books/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/books/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 12
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CourseBook] 16"
}
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.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/books/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "name=b"\
--form "author=n"\
--form "downloadable=1"\
--form "book=@C:\Users\Augustine\AppData\Local\Temp\php2B9.tmp" \
--form "book_cover=@C:\Users\Augustine\AppData\Local\Temp\php2C9.tmp" const url = new URL(
"http://localhost/api/instructor/courses/books/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('name', 'b');
body.append('author', 'n');
body.append('downloadable', '1');
body.append('book', document.querySelector('input[name="book"]').files[0]);
body.append('book_cover', document.querySelector('input[name="book_cover"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/books/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/books/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/tests/test-questions/options" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "question_id=architecto"\
--form "option=architecto"\
--form "media_file=@C:\Users\Augustine\AppData\Local\Temp\php2CA.tmp" const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions/options"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('question_id', 'architecto');
body.append('option', 'architecto');
body.append('media_file', document.querySelector('input[name="media_file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/tests/test-questions/options/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions/options/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 11
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CTQuestionOption] 16"
}
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.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/tests/test-questions/options/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "question_id=architecto"\
--form "option=architecto"\
--form "media_file=@C:\Users\Augustine\AppData\Local\Temp\php2EB.tmp" const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions/options/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('question_id', 'architecto');
body.append('option', 'architecto');
body.append('media_file', document.querySelector('input[name="media_file"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/tests/test-questions/options/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions/options/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/practice/problem" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": \"architecto\",
\"title\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"runtime_type\": \"compiler\",
\"difficulty\": \"easy\",
\"hint\": \"architecto\",
\"start_code\": [
{
\"name\": \"architecto\",
\"language\": \"architecto\",
\"value\": \"architecto\"
}
]
}"
const url = new URL(
"http://localhost/api/instructor/courses/practice/problem"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"course_id": "architecto",
"title": "n",
"description": "Eius et animi quos velit et.",
"runtime_type": "compiler",
"difficulty": "easy",
"hint": "architecto",
"start_code": [
{
"name": "architecto",
"language": "architecto",
"value": "architecto"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/practice/problem/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": \"architecto\",
\"title\": \"n\",
\"description\": \"Eius et animi quos velit et.\",
\"runtime_type\": \"compiler\",
\"difficulty\": \"hard\",
\"hint\": \"architecto\",
\"start_code\": [
{
\"name\": \"architecto\",
\"language\": \"architecto\",
\"value\": \"architecto\"
}
]
}"
const url = new URL(
"http://localhost/api/instructor/courses/practice/problem/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"course_id": "architecto",
"title": "n",
"description": "Eius et animi quos velit et.",
"runtime_type": "compiler",
"difficulty": "hard",
"hint": "architecto",
"start_code": [
{
"name": "architecto",
"language": "architecto",
"value": "architecto"
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/practice/problem/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/practice/problem/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Show the practice problems for the specified course.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/practice/16/problem" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/practice/16/problem"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 5
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] 16"
}
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/instructor/earnings/all/{instructor_user_id}
Example request:
curl --request GET \
--get "http://localhost/api/instructor/earnings/all/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/earnings/all/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 1
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Instructor] architecto"
}
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/bootcamp/ug
Example request:
curl --request POST \
"http://localhost/api/bootcamp/ug" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/bootcamp/ug"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/bootcamp/ug/users
Example request:
curl --request GET \
--get "http://localhost/api/bootcamp/ug/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/bootcamp/ug/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
access-control-allow-origin: *
{
"current_page": 1,
"data": [],
"first_page_url": "http://localhost/api/bootcamp/ug/users?page=1",
"from": null,
"last_page": 1,
"last_page_url": "http://localhost/api/bootcamp/ug/users?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost/api/bootcamp/ug/users?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://localhost/api/bootcamp/ug/users",
"per_page": 10,
"prev_page_url": null,
"to": null,
"total": 0
}
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/bootcamp/ug/users-two
Example request:
curl --request GET \
--get "http://localhost/api/bootcamp/ug/users-two" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/bootcamp/ug/users-two"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/bootcamp/advanced
Example request:
curl --request POST \
"http://localhost/api/bootcamp/advanced" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/bootcamp/advanced"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/bootcamp/advanced/users
Example request:
curl --request GET \
--get "http://localhost/api/bootcamp/advanced/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/bootcamp/advanced/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/webhook/flutterwave
Example request:
curl --request POST \
"http://localhost/api/webhook/flutterwave" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/webhook/flutterwave"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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.
Store student project submission.
Example request:
curl --request POST \
"http://localhost/api/quiz/project/submission" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "question_id=architecto"\
--form "student_id=architecto"\
--form "file_type=architecto"\
--form "submitted_at=2025-08-22T12:15:31"\
--form "file=@C:\Users\Augustine\AppData\Local\Temp\php542.tmp" const url = new URL(
"http://localhost/api/quiz/project/submission"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('question_id', 'architecto');
body.append('student_id', 'architecto');
body.append('file_type', 'architecto');
body.append('submitted_at', '2025-08-22T12:15:31');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Update the submitted project resource in storage.
Example request:
curl --request PUT \
"http://localhost/api/quiz/project/submission/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "question_id=architecto"\
--form "student_id=architecto"\
--form "file_type=architecto"\
--form "submitted_at=2025-08-22T12:15:31"\
--form "file=@C:\Users\Augustine\AppData\Local\Temp\php543.tmp" const url = new URL(
"http://localhost/api/quiz/project/submission/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('question_id', 'architecto');
body.append('student_id', 'architecto');
body.append('file_type', 'architecto');
body.append('submitted_at', '2025-08-22T12:15:31');
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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/creator-school/list
Example request:
curl --request GET \
--get "http://localhost/api/creator-school/list" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/creator-school/list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/creator-school/list
Example request:
curl --request POST \
"http://localhost/api/creator-school/list" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/creator-school/list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/workabl/mailbox-waitlist
Example request:
curl --request POST \
"http://localhost/api/workabl/mailbox-waitlist" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/workabl/mailbox-waitlist"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/cp/team/project-proposals
Example request:
curl --request GET \
--get "http://localhost/api/cp/team/project-proposals" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/cp/team/project-proposals"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/cp/team/project
Example request:
curl --request POST \
"http://localhost/api/cp/team/project" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/cp/team/project"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/users/grant-list
Example request:
curl --request GET \
--get "http://localhost/api/users/grant-list" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/users/grant-list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/innovation/register
Example request:
curl --request POST \
"http://localhost/api/innovation/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/innovation/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/innovation/users
Example request:
curl --request GET \
--get "http://localhost/api/innovation/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/innovation/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/remote-work/register
Example request:
curl --request POST \
"http://localhost/api/remote-work/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/remote-work/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/remote-work/users
Example request:
curl --request GET \
--get "http://localhost/api/remote-work/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/remote-work/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/admin/learners/profile-info/{student_user_id}
Example request:
curl --request GET \
--get "http://localhost/api/admin/learners/profile-info/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/learners/profile-info/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 model in the database.
Example request:
curl --request PUT \
"http://localhost/api/admin/community-reports/post/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/community-reports/post/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => 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.
Destroy the models for the given IDs.
Example request:
curl --request DELETE \
"http://localhost/api/admin/community-reports/post/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/community-reports/post/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Update the model in the database.
Example request:
curl --request PUT \
"http://localhost/api/admin/community-reports/comment/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/community-reports/comment/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => 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.
Destroy the models for the given IDs.
Example request:
curl --request DELETE \
"http://localhost/api/admin/community-reports/comment/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/community-reports/comment/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Update the model in the database.
Example request:
curl --request PUT \
"http://localhost/api/admin/community-reports/reply/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/community-reports/reply/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => 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.
Destroy the models for the given IDs.
Example request:
curl --request DELETE \
"http://localhost/api/admin/community-reports/reply/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/community-reports/reply/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/interview/interviewee_profile
Example request:
curl --request POST \
"http://localhost/api/interview/interviewee_profile" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"industry\": \"architecto\",
\"company_size\": 4326.41688,
\"role\": \"architecto\",
\"name\": \"n\",
\"phone_number\": \"architecto\",
\"email\": \"zbailey@example.net\",
\"course\": \"architecto\",
\"skills\": [
{
\"name\": \"architecto\"
}
],
\"work\": [
{
\"company\": \"architecto\"
}
],
\"education\": [
{
\"school\": \"architecto\"
}
]
}"
const url = new URL(
"http://localhost/api/interview/interviewee_profile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"industry": "architecto",
"company_size": 4326.41688,
"role": "architecto",
"name": "n",
"phone_number": "architecto",
"email": "zbailey@example.net",
"course": "architecto",
"skills": [
{
"name": "architecto"
}
],
"work": [
{
"company": "architecto"
}
],
"education": [
{
"school": "architecto"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/interviewees
Example request:
curl --request GET \
--get "http://localhost/api/interview/interviewees" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/interviewees"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/interviewees/{interviewee_id}
Example request:
curl --request GET \
--get "http://localhost/api/interview/interviewees/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/interviewees/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/technical/create_question
Example request:
curl --request POST \
"http://localhost/api/interview/technical/create_question" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question\": \"architecto\",
\"category\": \"architecto\",
\"type\": \"short_answer\"
}"
const url = new URL(
"http://localhost/api/interview/technical/create_question"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question": "architecto",
"category": "architecto",
"type": "short_answer"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/technical/questions
Example request:
curl --request GET \
--get "http://localhost/api/interview/technical/questions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/technical/questions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/technical/questions/{question_id}
Example request:
curl --request PUT \
"http://localhost/api/interview/technical/questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/technical/questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => 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/interview/technical/questions/{question_id}
Example request:
curl --request DELETE \
"http://localhost/api/interview/technical/questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/technical/questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/interview/technical/create_option
Example request:
curl --request POST \
"http://localhost/api/interview/technical/create_option" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question_id\": \"architecto\",
\"option\": \"architecto\",
\"is_correct\": false
}"
const url = new URL(
"http://localhost/api/interview/technical/create_option"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question_id": "architecto",
"option": "architecto",
"is_correct": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/technical/options/{option_id}
Example request:
curl --request PUT \
"http://localhost/api/interview/technical/options/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question_id\": \"architecto\",
\"option\": \"architecto\",
\"is_correct\": false
}"
const url = new URL(
"http://localhost/api/interview/technical/options/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question_id": "architecto",
"option": "architecto",
"is_correct": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/technical/options/{option_id}
Example request:
curl --request DELETE \
"http://localhost/api/interview/technical/options/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/technical/options/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/interview/technical/save_answer
Example request:
curl --request POST \
"http://localhost/api/interview/technical/save_answer" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"interviewee_id\": \"architecto\",
\"question_id\": \"architecto\",
\"answer\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/interview/technical/save_answer"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"interviewee_id": "architecto",
"question_id": "architecto",
"answer": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/technical/get_result/{interviewee_id}
Example request:
curl --request GET \
--get "http://localhost/api/interview/technical/get_result/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/technical/get_result/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/situational/create_question
Example request:
curl --request POST \
"http://localhost/api/interview/situational/create_question" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question\": \"architecto\",
\"category\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/interview/situational/create_question"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question": "architecto",
"category": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/situational/questions
Example request:
curl --request GET \
--get "http://localhost/api/interview/situational/questions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/situational/questions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/situational/questions/{question_id}
Example request:
curl --request PUT \
"http://localhost/api/interview/situational/questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/situational/questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => 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/interview/situational/questions/{question_id}
Example request:
curl --request DELETE \
"http://localhost/api/interview/situational/questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/situational/questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/interview/situational/create_step
Example request:
curl --request POST \
"http://localhost/api/interview/situational/create_step" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question_id\": \"architecto\",
\"step\": \"architecto\",
\"order\": 4326.41688
}"
const url = new URL(
"http://localhost/api/interview/situational/create_step"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question_id": "architecto",
"step": "architecto",
"order": 4326.41688
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/situational/steps/{option_id}
Example request:
curl --request PUT \
"http://localhost/api/interview/situational/steps/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question_id\": \"architecto\",
\"step\": \"architecto\",
\"order\": 4326.41688
}"
const url = new URL(
"http://localhost/api/interview/situational/steps/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question_id": "architecto",
"step": "architecto",
"order": 4326.41688
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/situational/steps/{option_id}
Example request:
curl --request DELETE \
"http://localhost/api/interview/situational/steps/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/situational/steps/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/interview/situational/save_answer
Example request:
curl --request POST \
"http://localhost/api/interview/situational/save_answer" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"interviewee_id\": \"architecto\",
\"question_id\": \"architecto\",
\"answer\": [
{
\"id\": \"architecto\",
\"step\": \"architecto\"
}
]
}"
const url = new URL(
"http://localhost/api/interview/situational/save_answer"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"interviewee_id": "architecto",
"question_id": "architecto",
"answer": [
{
"id": "architecto",
"step": "architecto"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/situational/get_result/{interviewee_id}
Example request:
curl --request GET \
--get "http://localhost/api/interview/situational/get_result/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/situational/get_result/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/conversation/questions
Example request:
curl --request GET \
--get "http://localhost/api/interview/conversation/questions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/conversation/questions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/conversation/create_question
Example request:
curl --request POST \
"http://localhost/api/interview/conversation/create_question" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question\": \"architecto\",
\"order\": 4326.41688
}"
const url = new URL(
"http://localhost/api/interview/conversation/create_question"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question": "architecto",
"order": 4326.41688
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/conversation/questions/{question_id}
Example request:
curl --request PUT \
"http://localhost/api/interview/conversation/questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"question\": \"architecto\",
\"order\": 4326.41688
}"
const url = new URL(
"http://localhost/api/interview/conversation/questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"question": "architecto",
"order": 4326.41688
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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/interview/conversation/questions/{question_id}
Example request:
curl --request DELETE \
"http://localhost/api/interview/conversation/questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/conversation/questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/interview/conversation/get_result/{interviewee_id}
Example request:
curl --request GET \
--get "http://localhost/api/interview/conversation/get_result/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/conversation/get_result/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/overview/{interviewee_id}
Example request:
curl --request GET \
--get "http://localhost/api/interview/overview/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/overview/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/interview/botman
Example request:
curl --request POST \
"http://localhost/api/interview/botman" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/botman"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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/interview/compute-results
Example request:
curl --request GET \
--get "http://localhost/api/interview/compute-results" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/interview/compute-results"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 57
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Handle an incoming password reset link request.
Example request:
curl --request POST \
"http://localhost/api/auth/forgot-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"gbailey@example.net\"
}"
const url = new URL(
"http://localhost/api/auth/forgot-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "gbailey@example.net"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Handle an incoming new password request.
Example request:
curl --request POST \
"http://localhost/api/auth/reset-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"token\": \"architecto\",
\"email\": \"zbailey@example.net\",
\"password\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/auth/reset-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"token": "architecto",
"email": "zbailey@example.net",
"password": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Update the user's password.
Example request:
curl --request PUT \
"http://localhost/api/auth/password/change" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"current_password\": \"architecto\",
\"password\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/auth/password/change"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"current_password": "architecto",
"password": "architecto"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Instructor management
APIs for managing instructors
Create a new user account for an instructor.
Example request:
curl --request POST \
"http://localhost/api/instructor/register" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=b"\
--form "firstname=b"\
--form "lastname=n"\
--form "email=ashly64@example.com"\
--form "phone=architecto"\
--form "country=architecto"\
--form "password=architecto"\
--form "avatar=@C:\Users\Augustine\AppData\Local\Temp\php12A.tmp" const url = new URL(
"http://localhost/api/instructor/register"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'b');
body.append('firstname', 'b');
body.append('lastname', 'n');
body.append('email', 'ashly64@example.com');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('password', 'architecto');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Upload instructor activation information.
Example request:
curl --request POST \
"http://localhost/api/instructor/activate-account" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "user_id=architecto"\
--form "national_id=architecto"\
--form "education_level=basic_education"\
--form "occupation=architecto"\
--form "expertise=architecto"\
--form "resume=@C:\Users\Augustine\AppData\Local\Temp\php13A.tmp" const url = new URL(
"http://localhost/api/instructor/activate-account"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('user_id', 'architecto');
body.append('national_id', 'architecto');
body.append('education_level', 'basic_education');
body.append('occupation', 'architecto');
body.append('expertise', 'architecto');
body.append('resume', document.querySelector('input[name="resume"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 access code for instructor
Example request:
curl --request POST \
"http://localhost/api/instructor/architecto/access/generate-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/architecto/access/generate-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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.
Verify instructor access code
Example request:
curl --request POST \
"http://localhost/api/instructor/architecto/access/verify-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"code\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/architecto/access/verify-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Update specified instructor's user profile .
Example request:
curl --request PUT \
"http://localhost/api/instructor/profile/update/architecto" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=b"\
--form "firstname=n"\
--form "lastname=g"\
--form "email=rowan.gulgowski@example.com"\
--form "phone=architecto"\
--form "country=architecto"\
--form "avatar=@C:\Users\Augustine\AppData\Local\Temp\php16A.tmp" const url = new URL(
"http://localhost/api/instructor/profile/update/architecto"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'b');
body.append('firstname', 'n');
body.append('lastname', 'g');
body.append('email', 'rowan.gulgowski@example.com');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Update specified instructor's user profile .
Example request:
curl --request PATCH \
"http://localhost/api/instructor/profile/update/architecto" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=b"\
--form "firstname=n"\
--form "lastname=g"\
--form "email=rowan.gulgowski@example.com"\
--form "phone=architecto"\
--form "country=architecto"\
--form "avatar=@C:\Users\Augustine\AppData\Local\Temp\php17B.tmp" const url = new URL(
"http://localhost/api/instructor/profile/update/architecto"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'b');
body.append('firstname', 'n');
body.append('lastname', 'g');
body.append('email', 'rowan.gulgowski@example.com');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
fetch(url, {
method: "PATCH",
headers,
body,
}).then(response => 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.
Upload instructor activation information.
Example request:
curl --request POST \
"http://localhost/api/instructor/profile" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "user_id=architecto"\
--form "national_id=architecto"\
--form "education_level=post_graduate_phd"\
--form "occupation=architecto"\
--form "expertise=architecto"\
--form "resume=@C:\Users\Augustine\AppData\Local\Temp\php17C.tmp" const url = new URL(
"http://localhost/api/instructor/profile"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('user_id', 'architecto');
body.append('national_id', 'architecto');
body.append('education_level', 'post_graduate_phd');
body.append('occupation', 'architecto');
body.append('expertise', 'architecto');
body.append('resume', document.querySelector('input[name="resume"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 instructor.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/profile/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/profile/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 20
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Instructor] architecto"
}
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 instructor verification details.
Example request:
curl --request PUT \
"http://localhost/api/instructor/profile/architecto" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "user_id=architecto"\
--form "national_id=architecto"\
--form "education_level=post_graduate_masters_degree"\
--form "occupation=architecto"\
--form "expertise=architecto"\
--form "is_verified="\
--form "resume=@C:\Users\Augustine\AppData\Local\Temp\php19C.tmp" const url = new URL(
"http://localhost/api/instructor/profile/architecto"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('user_id', 'architecto');
body.append('national_id', 'architecto');
body.append('education_level', 'post_graduate_masters_degree');
body.append('occupation', 'architecto');
body.append('expertise', 'architecto');
body.append('is_verified', '');
body.append('resume', document.querySelector('input[name="resume"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 instructors.
Example request:
curl --request GET \
--get "http://localhost/api/admin/instructors" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/instructors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Upload instructor activation information.
Example request:
curl --request POST \
"http://localhost/api/admin/instructors" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "user_id=architecto"\
--form "national_id=architecto"\
--form "education_level=post_graduate_phd"\
--form "occupation=architecto"\
--form "expertise=architecto"\
--form "resume=@C:\Users\Augustine\AppData\Local\Temp\php682.tmp" const url = new URL(
"http://localhost/api/admin/instructors"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('user_id', 'architecto');
body.append('national_id', 'architecto');
body.append('education_level', 'post_graduate_phd');
body.append('occupation', 'architecto');
body.append('expertise', 'architecto');
body.append('resume', document.querySelector('input[name="resume"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 instructor.
Example request:
curl --request GET \
--get "http://localhost/api/admin/instructors/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/instructors/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 instructor verification details.
Example request:
curl --request PUT \
"http://localhost/api/admin/instructors/architecto" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "user_id=architecto"\
--form "national_id=architecto"\
--form "education_level=secondary_education"\
--form "occupation=architecto"\
--form "expertise=architecto"\
--form "is_verified="\
--form "resume=@C:\Users\Augustine\AppData\Local\Temp\php693.tmp" const url = new URL(
"http://localhost/api/admin/instructors/architecto"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('user_id', 'architecto');
body.append('national_id', 'architecto');
body.append('education_level', 'secondary_education');
body.append('occupation', 'architecto');
body.append('expertise', 'architecto');
body.append('is_verified', '');
body.append('resume', document.querySelector('input[name="resume"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/admin/instructors/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/instructors/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 instructors.
Example request:
curl --request GET \
--get "http://localhost/api/admin/instructors/unverified-instructor" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/instructors/unverified-instructor"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Leader Board
APIs for managing Leader board
Get leader board
Example request:
curl --request GET \
--get "http://localhost/api/student/leaderboard/fetch-leaderboard" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/leaderboard/fetch-leaderboard"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 39
access-control-allow-origin: *
{
"allTime": [],
"month": []
}
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 leader board
Example request:
curl --request GET \
--get "http://localhost/api/admin/leaderboard/fetch-leaderboard" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/leaderboard/fetch-leaderboard"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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/admin/leaderboard/all-time
Example request:
curl --request GET \
--get "http://localhost/api/admin/leaderboard/all-time" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/leaderboard/all-time"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Notification management
APIs for managing user notifications
Get number of unread notifications
Example request:
curl --request GET \
--get "http://localhost/api/student/notifications/fetch-notification-count/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/notifications/fetch-notification-count/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 28
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\User] architecto"
}
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.
Fetch all user notifications
Example request:
curl --request GET \
--get "http://localhost/api/student/notifications/fetch-notifications/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/notifications/fetch-notifications/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 27
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\User] architecto"
}
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.
Mark user notification as read
Example request:
curl --request POST \
"http://localhost/api/student/notifications/read/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/notifications/read/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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 user notification
Example request:
curl --request POST \
"http://localhost/api/student/notifications/delete/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/notifications/delete/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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 number of unread notifications
Example request:
curl --request GET \
--get "http://localhost/api/instructor/notifications/fetch-notification-count/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/notifications/fetch-notification-count/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 22
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\User] architecto"
}
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.
Fetch all user notifications
Example request:
curl --request GET \
--get "http://localhost/api/instructor/notifications/fetch-notifications/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/notifications/fetch-notifications/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 21
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\User] architecto"
}
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.
Mark user notification as read
Example request:
curl --request POST \
"http://localhost/api/instructor/notifications/read/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/notifications/read/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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 user notification
Example request:
curl --request POST \
"http://localhost/api/instructor/notifications/delete/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/notifications/delete/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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.
OTP endpoints
APIs for generating and verifying user OTP's
generate otp
Generate otp token and send token to user's device
- Verify otp token for validity and mark token as verified
Example request:
curl --request POST \
"http://localhost/api/otp/generate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"c0beb475-fecf-46b1-b967-820f7d075cca\",
\"channel\": \"sms\",
\"device_id\": \"+233978456321\"
}"
const url = new URL(
"http://localhost/api/otp/generate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "c0beb475-fecf-46b1-b967-820f7d075cca",
"channel": "sms",
"device_id": "+233978456321"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
verify otp
Verify otp token for validity and mark token as verified
Example request:
curl --request POST \
"http://localhost/api/otp/verify" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"otp_token\": \"151439\",
\"user_id\": \"c0beb475-fecf-46b1-b967-820f7d075cca\"
}"
const url = new URL(
"http://localhost/api/otp/verify"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"otp_token": "151439",
"user_id": "c0beb475-fecf-46b1-b967-820f7d075cca"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Payment management
APIs for payment
Initialize Rave Course payment process
Example request:
curl --request POST \
"http://localhost/api/payment/rave/course-payment" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"currency\": \"architecto\",
\"amount\": 4326.41688,
\"name\": \"architecto\",
\"email\": \"zbailey@example.net\",
\"phone\": \"architecto\",
\"basket_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/payment/rave/course-payment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"currency": "architecto",
"amount": 4326.41688,
"name": "architecto",
"email": "zbailey@example.net",
"phone": "architecto",
"basket_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Flutter wave callback for payment verification
Example request:
curl --request GET \
--get "http://localhost/api/payment/rave/course-payment-verify" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/payment/rave/course-payment-verify"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Scholarship applications management
APIs for managing student scholarship applications
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost/api/scholarship" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/scholarship"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Create a newl scholarship application.
Example request:
curl --request POST \
"http://localhost/api/scholarship" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"fullname\": \"architecto\",
\"date\": \"architecto\",
\"about_applicant\": \"architecto\",
\"strength_weakness\": \"architecto\",
\"reason_to_grant\": \"architecto\",
\"career_goals\": \"architecto\",
\"commitment\": \"architecto\",
\"mistakes\": \"architecto\",
\"involved_activities\": \"architecto\",
\"personal_achievement\": \"architecto\",
\"additional_comment\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/scholarship"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"fullname": "architecto",
"date": "architecto",
"about_applicant": "architecto",
"strength_weakness": "architecto",
"reason_to_grant": "architecto",
"career_goals": "architecto",
"commitment": "architecto",
"mistakes": "architecto",
"involved_activities": "architecto",
"personal_achievement": "architecto",
"additional_comment": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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 application.
Example request:
curl --request GET \
--get "http://localhost/api/scholarship/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/scholarship/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 application
Example request:
curl --request PUT \
"http://localhost/api/scholarship/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_approved\": true,
\"date_approved\": \"2025-08-22T12:15:31\",
\"status\": \"pending\"
}"
const url = new URL(
"http://localhost/api/scholarship/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_approved": true,
"date_approved": "2025-08-22T12:15:31",
"status": "pending"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Delet the specified application.
Example request:
curl --request DELETE \
"http://localhost/api/scholarship/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/scholarship/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/admin/scholarship" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/scholarship"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Create a newl scholarship application.
Example request:
curl --request POST \
"http://localhost/api/admin/scholarship" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"fullname\": \"architecto\",
\"date\": \"architecto\",
\"about_applicant\": \"architecto\",
\"strength_weakness\": \"architecto\",
\"reason_to_grant\": \"architecto\",
\"career_goals\": \"architecto\",
\"commitment\": \"architecto\",
\"mistakes\": \"architecto\",
\"involved_activities\": \"architecto\",
\"personal_achievement\": \"architecto\",
\"additional_comment\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/admin/scholarship"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"fullname": "architecto",
"date": "architecto",
"about_applicant": "architecto",
"strength_weakness": "architecto",
"reason_to_grant": "architecto",
"career_goals": "architecto",
"commitment": "architecto",
"mistakes": "architecto",
"involved_activities": "architecto",
"personal_achievement": "architecto",
"additional_comment": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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 application.
Example request:
curl --request GET \
--get "http://localhost/api/admin/scholarship/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/scholarship/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 application
Example request:
curl --request PUT \
"http://localhost/api/admin/scholarship/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"is_approved\": true,
\"date_approved\": \"2025-08-22T12:15:31\",
\"status\": \"approved\"
}"
const url = new URL(
"http://localhost/api/admin/scholarship/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"is_approved": true,
"date_approved": "2025-08-22T12:15:31",
"status": "approved"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Delet the specified application.
Example request:
curl --request DELETE \
"http://localhost/api/admin/scholarship/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/scholarship/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Student Achievement
APIs for managing student achievements
Get Certificates for specified student
Example request:
curl --request GET \
--get "http://localhost/api/student/achievements/fetch-certificates/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/achievements/fetch-certificates/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 42
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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 Prizes for specified Students
Example request:
curl --request GET \
--get "http://localhost/api/student/achievements/fetch-prizes/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/achievements/fetch-prizes/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 41
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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/student/achievements/certificates/{certificate_slug}
Example request:
curl --request GET \
--get "http://localhost/api/student/achievements/certificates/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/achievements/certificates/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 40
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CourseCertificate] architecto"
}
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.
Student Learning
APIs for managing student learning
Fetch specified student's enrolled courses
Example request:
curl --request GET \
--get "http://localhost/api/student/learning/fetch-enrolled-courses/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/learning/fetch-enrolled-courses/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 47
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
getEnrolledCurriculum
Example request:
curl --request GET \
--get "http://localhost/api/student/learning/fetch-curriculum/architecto/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/learning/fetch-curriculum/architecto/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (500):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 46
access-control-allow-origin: *
{
"message": "Server Error"
}
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.
completeLesson
Example request:
curl --request POST \
"http://localhost/api/student/learning/complete-lesson" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/learning/complete-lesson"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => 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.
getCourseFiles
Example request:
curl --request GET \
--get "http://localhost/api/student/learning/fetch-course-files/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/learning/fetch-course-files/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 45
access-control-allow-origin: *
[]
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.
Student Learning Course management
Api for managing student favorite courses
Fetch specified student's saved course list
Example request:
curl --request GET \
--get "http://localhost/api/student/courses/fetch-saved-course/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/courses/fetch-saved-course/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 54
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Add course to specified student's saved course list
Example request:
curl --request POST \
"http://localhost/api/student/courses/saved-course/architecto/add" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/courses/saved-course/architecto/add"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"course_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Fetch course of interest to specified student
Example request:
curl --request GET \
--get "http://localhost/api/student/courses/fetch-fav-courses/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/courses/fetch-fav-courses/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 53
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Fetch courses not of interest to specified student
Example request:
curl --request GET \
--get "http://localhost/api/student/courses/fetch-other-courses/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/courses/fetch-other-courses/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 52
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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/student/courses/fetch-curriculum/{course_id}/{curriculum?}
Example request:
curl --request GET \
--get "http://localhost/api/student/courses/fetch-curriculum/16/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/courses/fetch-curriculum/16/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 51
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] 16"
}
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 specified course details for specified student
Example request:
curl --request GET \
--get "http://localhost/api/student/courses/16/fetch-course-overview/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/courses/16/fetch-course-overview/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 50
access-control-allow-origin: *
"Resource not found"
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 progress for course
Example request:
curl --request GET \
--get "http://localhost/api/student/course-progress/architecto/fetch-progress/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/course-progress/architecto/fetch-progress/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 48
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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.
Add new curriculum progress for student course progress
Example request:
curl --request POST \
"http://localhost/api/student/course-progress/track-curriculum-progress/start" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"course_id\": \"architecto\",
\"curriculum_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/course-progress/track-curriculum-progress/start"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"course_id": "architecto",
"curriculum_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Mark student course curriculum progress as completed
Example request:
curl --request POST \
"http://localhost/api/student/course-progress/track-curriculum-progress/end" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"course_id\": \"architecto\",
\"curriculum_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/student/course-progress/track-curriculum-progress/end"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"course_id": "architecto",
"curriculum_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Fetch course study progress of student
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/performance/architecto/fetch-progress/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/performance/architecto/fetch-progress/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 7
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Course] architecto"
}
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.
Sudent management
APIs for managing student profile
Register a new student account.
Example request:
curl --request POST \
"http://localhost/api/student/register" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=b"\
--form "firstname=b"\
--form "lastname=n"\
--form "email=ashly64@example.com"\
--form "phone=architecto"\
--form "country=architecto"\
--form "password=architecto"\
--form "plan="\
--form "avatar=@C:\Users\Augustine\AppData\Local\Temp\phpFDCC.tmp" const url = new URL(
"http://localhost/api/student/register"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'b');
body.append('firstname', 'b');
body.append('lastname', 'n');
body.append('email', 'ashly64@example.com');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('password', 'architecto');
body.append('plan', '');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 profile using email
Example request:
curl --request GET \
--get "http://localhost/api/student/profile/fetch-profile/gbailey@example.net?email=gbailey%40example.net" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/profile/fetch-profile/gbailey@example.net"
);
const params = {
"email": "gbailey@example.net",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 58
access-control-allow-origin: *
{}
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/student/profile/{student_user_id}/institutions
Example request:
curl --request GET \
--get "http://localhost/api/student/profile/architecto/institutions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/profile/architecto/institutions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 56
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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 student profile.
Example request:
curl --request GET \
--get "http://localhost/api/student/profile/architecto?student=architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/profile/architecto"
);
const params = {
"student": "architecto",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 55
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\Student] architecto"
}
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 student profile.
Example request:
curl --request PUT \
"http://localhost/api/student/profile/architecto?student=architecto" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=b"\
--form "firstname=n"\
--form "lastname=g"\
--form "email=rowan.gulgowski@example.com"\
--form "phone=architecto"\
--form "country=architecto"\
--form "plan=institution"\
--form "avatar=@C:\Users\Augustine\AppData\Local\Temp\phpFE1C.tmp" const url = new URL(
"http://localhost/api/student/profile/architecto"
);
const params = {
"student": "architecto",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'b');
body.append('firstname', 'n');
body.append('lastname', 'g');
body.append('email', 'rowan.gulgowski@example.com');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('plan', 'institution');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 student profile.
Example request:
curl --request DELETE \
"http://localhost/api/student/profile/architecto?student=architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/profile/architecto"
);
const params = {
"student": "architecto",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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 all student profiles.
Example request:
curl --request GET \
--get "http://localhost/api/admin/learners" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/learners"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Register a new student account.
Example request:
curl --request POST \
"http://localhost/api/admin/learners" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=b"\
--form "firstname=b"\
--form "lastname=n"\
--form "email=ashly64@example.com"\
--form "phone=architecto"\
--form "country=architecto"\
--form "password=architecto"\
--form "plan="\
--form "avatar=@C:\Users\Augustine\AppData\Local\Temp\php650.tmp" const url = new URL(
"http://localhost/api/admin/learners"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'b');
body.append('firstname', 'b');
body.append('lastname', 'n');
body.append('email', 'ashly64@example.com');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('password', 'architecto');
body.append('plan', '');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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 student profile.
Example request:
curl --request GET \
--get "http://localhost/api/admin/learners/architecto?student=architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/learners/architecto"
);
const params = {
"student": "architecto",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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 student profile.
Example request:
curl --request PUT \
"http://localhost/api/admin/learners/architecto?student=architecto" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "username=b"\
--form "firstname=n"\
--form "lastname=g"\
--form "email=rowan.gulgowski@example.com"\
--form "phone=architecto"\
--form "country=architecto"\
--form "plan=corporate"\
--form "avatar=@C:\Users\Augustine\AppData\Local\Temp\php661.tmp" const url = new URL(
"http://localhost/api/admin/learners/architecto"
);
const params = {
"student": "architecto",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('username', 'b');
body.append('firstname', 'n');
body.append('lastname', 'g');
body.append('email', 'rowan.gulgowski@example.com');
body.append('phone', 'architecto');
body.append('country', 'architecto');
body.append('plan', 'corporate');
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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 student profile.
Example request:
curl --request DELETE \
"http://localhost/api/admin/learners/architecto?student=architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/admin/learners/architecto"
);
const params = {
"student": "architecto",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/admin/learners/invite
Example request:
curl --request POST \
"http://localhost/api/admin/learners/invite" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "file=@C:\Users\Augustine\AppData\Local\Temp\php681.tmp" const url = new URL(
"http://localhost/api/admin/learners/invite"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('file', document.querySelector('input[name="file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Test Result management
Api for managing student test result
get test result for student
Example request:
curl --request GET \
--get "http://localhost/api/student/learning/test/16/student/architecto/result" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/learning/test/16/student/architecto/result"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 43
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CurriculumTest] 16"
}
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 test result for student
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/performance/test-result/16/student/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/performance/test-result/16/student/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 6
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CurriculumTest] 16"
}
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/instructor/courses/performance/submission-review/{submission_id}
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/performance/submission-review/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"review_comment\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/courses/performance/submission-review/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"review_comment": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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/instructor/courses/performance/evaluate-test
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/performance/evaluate-test" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"test_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/instructor/courses/performance/evaluate-test"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"test_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Start test and enable test progress tracking.
Example request:
curl --request POST \
"http://localhost/api/quiz/test-start" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"test_id\": \"architecto\",
\"student_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/quiz/test-start"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"test_id": "architecto",
"student_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
End course test
Example request:
curl --request POST \
"http://localhost/api/quiz/test-end" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"test_id\": \"architecto\",
\"student_id\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/quiz/test-end"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"test_id": "architecto",
"student_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Save test question answer by student
Example request:
curl --request POST \
"http://localhost/api/quiz/save-student-answer" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"student_id\": \"architecto\",
\"test_id\": \"architecto\",
\"question_id\": \"architecto\",
\"answer\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/quiz/save-student-answer"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"student_id": "architecto",
"test_id": "architecto",
"question_id": "architecto",
"answer": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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 test result for student
Example request:
curl --request GET \
--get "http://localhost/api/quiz/result/architecto-16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/quiz/result/architecto-16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Test management
APIs for managing Tests for lessons/Curriculum
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost/api/student/learning/fetch-test/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/student/learning/fetch-test/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 44
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CurriculumTest] architecto"
}
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.
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/tests/test-questions" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "test_id=architecto"\
--form "question=architecto"\
--form "question_type=file_upload"\
--form "answer=architecto"\
--form "media_file=@C:\Users\Augustine\AppData\Local\Temp\php2EC.tmp" const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('test_id', 'architecto');
body.append('question', 'architecto');
body.append('question_type', 'file_upload');
body.append('answer', 'architecto');
body.append('media_file', document.querySelector('input[name="media_file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/tests/test-questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 10
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CurriculumTestQuestion] 16"
}
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.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/tests/test-questions/16" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "test_id=architecto"\
--form "question=architecto"\
--form "question_type=mcq"\
--form "answer=architecto"\
--form "media_file=@C:\Users\Augustine\AppData\Local\Temp\php30C.tmp" const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions/16"
);
const headers = {
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('test_id', 'architecto');
body.append('question', 'architecto');
body.append('question_type', 'mcq');
body.append('answer', 'architecto');
body.append('media_file', document.querySelector('input[name="media_file"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/tests/test-questions/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/tests/test-questions/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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/instructor/courses/tests/{course_id}
Example request:
curl --request POST \
"http://localhost/api/instructor/courses/tests/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"test\",
\"order\": 16,
\"title\": \"n\",
\"description\": \"architecto\",
\"duration\": \"architecto\",
\"pass_score\": 4326.41688,
\"test_type\": \"qna\",
\"project_deadline\": \"2025-08-22T12:15:31\"
}"
const url = new URL(
"http://localhost/api/instructor/courses/tests/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "test",
"order": 16,
"title": "n",
"description": "architecto",
"duration": "architecto",
"pass_score": 4326.41688,
"test_type": "qna",
"project_deadline": "2025-08-22T12:15:31"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/instructor/courses/tests/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/tests/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 9
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\CurriculumTest] architecto"
}
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.
Example request:
curl --request PUT \
"http://localhost/api/instructor/courses/tests/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"curriculum_id\": \"architecto\",
\"title\": \"n\",
\"discription\": \"architecto\",
\"duration\": \"architecto\",
\"pass_score\": 4326.41688,
\"test_type\": \"project\",
\"project_deadline\": \"2025-08-22T12:15:31\"
}"
const url = new URL(
"http://localhost/api/instructor/courses/tests/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"curriculum_id": "architecto",
"title": "n",
"discription": "architecto",
"duration": "architecto",
"pass_score": 4326.41688,
"test_type": "project",
"project_deadline": "2025-08-22T12:15:31"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Update the specified resource in storage.
Example request:
curl --request PATCH \
"http://localhost/api/instructor/courses/tests/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"curriculum_id\": \"architecto\",
\"title\": \"n\",
\"discription\": \"architecto\",
\"duration\": \"architecto\",
\"pass_score\": 4326.41688,
\"test_type\": \"project\",
\"project_deadline\": \"2025-08-22T12:15:31\"
}"
const url = new URL(
"http://localhost/api/instructor/courses/tests/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"curriculum_id": "architecto",
"title": "n",
"discription": "architecto",
"duration": "architecto",
"pass_score": 4326.41688,
"test_type": "project",
"project_deadline": "2025-08-22T12:15:31"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/instructor/courses/tests/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/instructor/courses/tests/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/course/caricula/test" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula/test"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request POST \
"http://localhost/api/course/caricula/test" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"b\",
\"discription\": \"architecto\",
\"duration\": \"architecto\",
\"pass_score\": 4326.41688,
\"test_type\": \"project\",
\"project_deadline\": \"2025-08-22T12:15:31\"
}"
const url = new URL(
"http://localhost/api/course/caricula/test"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"title": "b",
"discription": "architecto",
"duration": "architecto",
"pass_score": 4326.41688,
"test_type": "project",
"project_deadline": "2025-08-22T12:15:31"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Example request:
curl --request GET \
--get "http://localhost/api/course/caricula/test/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula/test/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (429):
Show headers
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
retry-after: 58
x-ratelimit-reset: 1755864989
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Too Many Attempts."
}
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.
Example request:
curl --request PUT \
"http://localhost/api/course/caricula/test/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"curriculum_id\": \"architecto\",
\"title\": \"n\",
\"discription\": \"architecto\",
\"duration\": \"architecto\",
\"pass_score\": 4326.41688,
\"test_type\": \"project\",
\"project_deadline\": \"2025-08-22T12:15:31\"
}"
const url = new URL(
"http://localhost/api/course/caricula/test/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"curriculum_id": "architecto",
"title": "n",
"discription": "architecto",
"duration": "architecto",
"pass_score": 4326.41688,
"test_type": "project",
"project_deadline": "2025-08-22T12:15:31"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => 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.
Example request:
curl --request DELETE \
"http://localhost/api/course/caricula/test/16" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/course/caricula/test/16"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => 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.
User Account management
APIs for User Account
Retrieve use account settings
Example request:
curl --request GET \
--get "http://localhost/api/user/account-setting/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"http://localhost/api/user/account-setting/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
access-control-allow-origin: *
{
"message": "No query results for model [App\\Models\\User] architecto"
}
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 use account settings
Example request:
curl --request POST \
"http://localhost/api/user/account-setting/architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"course_suggestion\": false,
\"class_suggestion\": true,
\"community_conversations\": true,
\"preferred_language\": \"architecto\"
}"
const url = new URL(
"http://localhost/api/user/account-setting/architecto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"course_suggestion": false,
"class_suggestion": true,
"community_conversations": true,
"preferred_language": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => 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.