**MentorGrid API** MentorGrid is a **Bootcamp
Handler API** built with **Node.js** and the
**Express framework**, designed to power
online learning platforms. It provides secure
authentication, user management, and course
handling features. With MentorGrid,
administrators can create and publish courses,
while users can seamlessly browse and enroll
in them. The API is backed by **MongoDB** with
**Mongoose ODM** for efficient data modeling
and validation. ### **Key Features** -
**Authentication & Authorization** –
Register, login, and secure access with
role-based permissions (Admin & User). -
**Course Management** – Admins can create,
update, and publish bootcamp courses. - **User
Enrollment** – Users can explore available
courses and enroll with ease. - **Scalable
Backend** – Built with RESTful design
principles for flexibility and performance.
This API serves as the backbone for
bootcamp-style platforms, making it simple to
manage learning programs, track enrollments,
and scale with growing user bases.
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 30 | 0 |
| Prerequest Scripts | 30 | 0 |
| Test Scripts | 32 | 0 |
| Assertions | 0 | 0 |
| Skipped Tests | 0 | - |
**GET /api/v1/bootcamps (public)**
Fetches a list of all available
bootcamps from the MentorGrid API.
Returns an array of bootcamp objects
with details such as title,
description, duration, and creator
information. Useful for displaying
all published bootcamps to
users.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 64c9e6b9-4722-4a50-9a67-7733ef3552e4 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:51 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 2153 |
| Connection | keep-alive |
| CF-RAY | 9896e3db2e6e6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"1f23-wb7i1P9NB8lVPZVtaOzX9M8u4yY" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=952; t=725 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | caa9b33d-5d3b-4c70 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"count":4,"total":4,"page":1,"pages":1,"hasNextPage":false,"hasPrevPage":false,"message":"Resource found successfully","data":[{"location":{"type":"Point","coordinates":[-71.5256458,41.4827358],"formattedAddress":"45, Upper College Road, Kingston, South Kingstown, South County, Rhode Island, 02881, United States","street":"Upper College Road","city":"South Kingstown","state":"Rhode Island","zipcode":"02881","country":"US","provider":"openstreetmap"},"_id":"5d725a1b7b292f5f8ceff788","name":"Devcentral Bootcamp","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in front end and full stack web development","website":"https://devcentral.com","phone":"(444) 444-4444","email":"enroll@devcentral.com","careers":["Mobile Development","Web Development","Data Science","Business"],"averageCost":6340,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":true,"acceptGi":true,"user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:57:44.395Z","slug":"devcentral-bootcamp","averageRating":10,"courses":[{"_id":"5d725cfec4ded7bcb480eaa5","title":"Web Development","description":"This course will teach you how to build high quality web applications with technologies like React, Node.js, PHP & Laravel","weeks":8,"tuition":8000,"minimumSkill":"beginner","scholarshipAvailable":false,"bootcamp":"5d725a1b7b292f5f8ceff788","user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:53.944Z","__v":0},{"_id":"5d725cfec4ded7bcb480eaa6","title":"Software QA","description":"This course will teach you everything you need to know about quality assurance","weeks":6,"tuition":5000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":"5d725a1b7b292f5f8ceff788","user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:53.944Z","__v":0},{"_id":"5d725cfec4ded7bcb480eaa7","title":"IOS Development","description":"Get started building mobile applications for IOS using Swift and other tools","weeks":8,"tuition":6000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":"5d725a1b7b292f5f8ceff788","user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:53.944Z","__v":0}],"id":"5d725a1b7b292f5f8ceff788"},{"location":{"type":"Point","coordinates":[-71.3236452,42.65029],"formattedAddress":"Bank of America, 220, Pawtucket Street, The Acre, Lowell, Middlesex County, Massachusetts, 01854, United States","street":"Pawtucket Street","city":"Lowell","state":"Massachusetts","zipcode":"01854","country":"US","provider":"openstreetmap"},"_id":"5d713a66ec8f2b88b8f830b8","name":"ModernTech Bootcamp","description":"ModernTech has one goal, and that is to make you a rockstar developer and/or designer with a six figure salary. We teach both development and UI/UX","website":"https://moderntech.com","phone":"(222) 222-2222","email":"enroll@moderntech.com","careers":["Web Development","UI/UX","Mobile Development"],"averageCost":11000,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be046","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:47:54.080Z","slug":"moderntech-bootcamp","courses":[{"_id":"5d725cd2c4ded7bcb480eaa2","title":"UI/UX","description":"In this course you will learn to create beautiful interfaces. It is a mix of design and development to create modern user experiences on both web and mobile","weeks":12,"tuition":10000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":"5d713a66ec8f2b88b8f830b8","user":"5d7a514b5d2c12c7449be046","createdAt":"2025-09-29T23:47:53.942Z","__v":0},{"_id":"5d725cb9c4ded7bcb480eaa1","title":"Full Stack Web Dev","description":"In this course you will learn all about the front end with HTML, CSS and JavaScript. You will master tools like Git and Webpack and also learn C# and ASP.NET with Postgres","weeks":10,"tuition":12000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":"5d713a66ec8f2b88b8f830b8","user":"5d7a514b5d2c12c7449be046","createdAt":"2025-09-29T23:47:53.942Z","__v":0}],"id":"5d713a66ec8f2b88b8f830b8"},{"location":{"type":"Point","coordinates":[-73.2011724,44.4782757],"formattedAddress":"Waterman Building, 85, South Prospect Street, Burlington, Chittenden County, Vermont, 05401, United States","street":"South Prospect Street","city":"Burlington","state":"Vermont","zipcode":"05401","country":"US","provider":"openstreetmap"},"_id":"5d725a037b292f5f8ceff787","name":"Codemasters","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in full stack web development and data science","website":"https://codemasters.com","phone":"(333) 333-3333","email":"enroll@codemasters.com","careers":["Web Development","Data Science","Business"],"averageCost":10500,"photo":"no-photo.jpg","housing":false,"jobAssistance":false,"jobGuarantee":false,"acceptGi":false,"user":"5c8a1d5b0190b214360dc031","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:47:54.363Z","slug":"codemasters","courses":[{"_id":"5d725cfec4ded7bcb480eaa4","title":"Data Science Program","description":"In this course you will learn Python for data science, machine learning and big data tools","weeks":10,"tuition":9000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":"5d725a037b292f5f8ceff787","user":"5c8a1d5b0190b214360dc031","createdAt":"2025-09-29T23:47:53.943Z","__v":0},{"_id":"5d725ce8c4ded7bcb480eaa3","title":"Web Design & Development","description":"Get started building websites and web apps with HTML/CSS/JavaScript/PHP. We teach you","weeks":10,"tuition":12000,"minimumSkill":"beginner","scholarshipAvailable":false,"bootcamp":"5d725a037b292f5f8ceff787","user":"5c8a1d5b0190b214360dc031","createdAt":"2025-09-29T23:47:53.943Z","__v":0}],"id":"5d725a037b292f5f8ceff787"},{"location":{"type":"Point","coordinates":[-71.1038666,42.3508609],"formattedAddress":"Alan & Sherry Leventhal Center, 233, Bay State Road, Fenway, Boston, Suffolk County, Massachusetts, 02215, United States","street":"Bay State Road","city":"Boston","state":"Massachusetts","zipcode":"02215","country":"US","provider":"openstreetmap"},"_id":"5d713995b721c3bb38c1f5d0","name":"Devworks Bootcamp","description":"Devworks is a full stack JavaScript Bootcamp located in the heart of Boston that focuses on the technologies you need to get a high paying job as a web developer","website":"https://devworks.com","phone":"(111) 111-1111","email":"enroll@devworks.com","careers":["Web Development","UI/UX","Business"],"averageCost":9000,"photo":"no-photo.jpg","housing":true,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:49.665Z","updatedAt":"2025-09-29T23:47:54.060Z","slug":"devworks-bootcamp","courses":[{"_id":"5d725a4a7b292f5f8ceff789","title":"Front End Web Development","description":"This course will provide you with all of the essentials to become a successful frontend web developer. You will learn to master HTML, CSS and front end JavaScript, along with tools like Git, VSCode and front end frameworks like Vue","weeks":8,"tuition":8000,"minimumSkill":"beginner","scholarshipAvailable":false,"bootcamp":"5d713995b721c3bb38c1f5d0","user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:53.940Z","__v":0},{"_id":"5d725c84c4ded7bcb480eaa0","title":"Full Stack Web Development","description":"In this course you will learn full stack web development, first learning all about the frontend with HTML/CSS/JS/Vue and then the backend with Node.js/Express/MongoDB","weeks":12,"tuition":10000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":"5d713995b721c3bb38c1f5d0","user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:53.941Z","__v":0}],"id":"5d713995b721c3bb38c1f5d0"}]}
**GET /api/v1/bootcamps/:id
(public)** Retrieves detailed
information about a single bootcamp
by its unique **ID**. This is a
**public endpoint**, meaning no
authentication is required. Returns
a bootcamp object with fields such
as title, description, duration,
location, and other related
data.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 62d51067-0fe1-4351-b0b9-01f556185ade |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:52 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 57 |
| Connection | keep-alive |
| CF-RAY | 9896e3e76d246470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"39-IghTRRroAmFSHCsBOz6K3gDM4Uw" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=951; t=723 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | d914c74f-fdf4-48ef |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"No Bootcamp Found","data":null}
**POST /api/v1/bootcamps
(private)** Creates a **new
bootcamp** in the MentorGrid API.
This is a **private endpoint**,
accessible only to authenticated
users with the appropriate role
(e.g., Admin/Publisher). The request
body must include the necessary
bootcamp details (such as title,
description, duration, and
location). On success, returns the
newly created bootcamp object.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e6fb2307-8cb3-498b-aa72-3a30fdd3b9f1 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 612 |
{
"name": "Devcentral Bootcamp 2",
"description": "Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in front end and full stack web development",
"website": "https://devcentral.com",
"phone": "(444) 444-4444",
"email": "enroll@devcentral.com",
"address": "45 Upper College Rd Kingston RI 02881",
"careers": [
"Mobile Development",
"Web Development",
"Data Science",
"Business"
],
"housing": false,
"jobAssistance": true,
"jobGuarantee": true,
"acceptGi": true
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:53 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e3eddc026470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=950; t=722 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 92508445-7014-4cc4 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
**PUT /api/v1/bootcamps/:id
(private)** Updates an existing
bootcamp by its unique **ID**. This
is a **private endpoint**,
restricted to authenticated users
with the correct role (e.g.,
Admin/Publisher). The request body
should include one or more fields to
update (such as title, description,
duration, or location). On success,
returns the updated bootcamp object
with the applied changes.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f8f45d93-61dc-4d65-ae91-4c38962d35a1 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 78 |
{
"housing": false,
"jobAssistance": false,
"jobGuarantee": true
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:54 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e3f269786470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=949; t=722 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 6d3ec655-0bfd-4552 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
**DELETE /api/v1/bootcamps/:id
(private)** Deletes a bootcamp by
its unique **ID**. This is a
**private endpoint**, accessible
only to authenticated users with the
appropriate role (e.g.,
Admin/Publisher). On success, the
bootcamp record is permanently
removed from the database, and the
response confirms successful
deletion.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5f800cf3-958e-45c0-9715-eccef99e5bdf |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:54 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e3f6cddf6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=948; t=721 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 7de16157-9268-47df |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
**Route:** GET
/api/v1/bootcamps/:zipcode/:radius
**Access:** Public **Description:**
Fetches all bootcamps located within
a specified distance from a given
zipcode. The :zipcode parameter is
used as the center point, and
:radius defines the distance (in
miles or kilometers, depending on
implementation). This route uses
geospatial queries to return
bootcamps that fall inside the
defined circular area.
**Parameters:** - zipcode _(string,
required)_ → The central zipcode to
search from. - radius _(number,
required)_ → The distance from the
zipcode within which bootcamps
should be returned.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9ae18c9f-308b-4411-acb7-d78f3c2dc18e |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:55 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 546 |
| Connection | keep-alive |
| CF-RAY | 9896e3fb4a9f6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"3ee-PRBBt1o3U39wL5g+r/mXpcgBpRs" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=947; t=720 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 805e2f66-2f60-4416 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"<html>\n<head>\n<title>Access blocked</title>\n</head>\n<body>\n<h1>Access blocked</h1>\n\n<p>You have been blocked because you have violated the\n<a href=\"https://operations.osmfoundation.org/policies/nominatim/\">usage policy</a>\nof OSM's Nominatim geocoding service. Please be aware that OSM's resources are\nlimited and shared between many users. The usage policy is there to ensure that\nthe service remains usable for everybody.</p>\n\n<p>Please review the terms and make sure that your\nsoftware adheres to the terms. You should in particular verify that you have set a\n<b>custom HTTP referrer or HTTP user agent</b> that identifies your application, and\nthat you are not overusing the service with massive bulk requests.</p>\n\n<p>If you feel that this block is unjustified or remains after you have adopted\nyour usage, you may contact the Nominatim system administrator at\nnominatim@openstreetmap.org to have this block lifted.</p>\n</body>\n</head>\n","data":null}
### Upload Photo for Bootcamp -
**Endpoint:** `PUT
/api/v1/bootcamps/:bootcampId/photos`
- **Access:** Private (Admin) -
**Description:** Uploads a photo for
a specific bootcamp. Only admins are
allowed to perform this action. The
photo will be stored on the server,
and its reference will be saved in
the bootcamp record. **URL
Parameters:** | Parameter | Type |
Description | | --- | --- | --- | |
`bootcampId` | String |
The ID of the bootcamp to upload
photo for. | **Request:** - Send a
`multipart/form-data`
request with the file field named
`file`. - Only image files
(`.jpg`,
`.jpeg`, `.png`)
are allowed. - Maximum file size:
**1 MB** (can be configured).
**Example Request (using Postman):**
- Set method to `PUT` -
URL:
`/api/v1/bootcamps/12345bootcamp/photos`
- Body → form-data → Key:
`file`, Type: File, Value:
_choose an image file_ **Example
Response:** ``` json
{ "success": true,
"data":
"photo_12345bootcamp.jpg"
} ```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 75847ae8-73ef-459b-8109-05e4483123fc |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
{}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:56 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e3ffbf756470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=946; t=720 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 623c5401-3c9c-46e5 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
## Get All Users **GET**
`/api/v1/auth/users`
**Access:** Private (Admin only) ###
Description Fetches all users from
the database. Supports advanced
query results
(`res.advanceResults`) for
filtering, pagination, and
sorting.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 25e84f48-3528-4590-98f2-db77d0d30794 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:56 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e4043bb66470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=945; t=719 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | a2c47de0-8fd5-4054 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
**GET** /api/v1/auth/users/:id
**Access:** Private (Admin only) ###
**Description** Fetches a single
user by their unique id.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e797510b-f91f-4e68-912a-30b0e30c4fc8 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:57 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e408b86a6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=944; t=718 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | c39b469a-0965-482d |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
## Update a User **PUT**
`/api/v1/users/:id`
**Access:** Private (Admin/Publisher
only) ### Description Updates
details of an existing user by id.
### request body: ```
json { "name": "John
Updated", "role":
"publisher" }
```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 44653d93-6332-401c-95e1-af8994f11274 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 41 |
{
"name": "sudoalphainfo@gmail.com"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:58 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e40dde286470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=943; t=717 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 67b88497-8e2d-4385 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
## Delete a User DELETE
`/api/v1/users/:id`
**Access:** Private (Admin/Publisher
only) ### Description Deletes a user
from the system by their id.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8752e345-350a-4bf2-9943-9a984baad708 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:54:59 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e412eb6d6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=942; t=717 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | d65169f3-fd48-475d |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
## Create User **POST**
`/api/v1/users`
**Access:** Private (Admin/Publisher
only) ### Description Creates a new
user in the system. ### Request Body
``` json {
"name": "John
Doe", "email":
"john@example.com",
"password":
"securePassword123",
"role": "user" }
```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9dc104a1-e8b0-4559-abf5-02a1ba29e63e |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 139 |
{
"name": "souvikinfo",
"email": "souvikinfo2new@gmail.com",
"password": "deltainfo",
"active": true,
"role": "admin"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:00 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e417887c6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=941; t=716 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 4062a0be-7ba9-408a |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
# **Get All Courses (Public)**
Fetch all courses from the database.
Supports filtering, sorting, field
selection, and pagination through
query parameters. **Query Parameters
(optional)** - select (string) –
Comma-separated fields to include,
e.g., title,tuition,weeks - sort
(string) – Comma-separated fields to
sort by. Prefix with - for
descending, e.g., -tuition - page
(number) – Page number for
pagination. Default: 1 - limit
(number) – Number of results per
page. Default: 25 **Example
Request** ``` GET
/api/v1/courses?select=title,tuition,bootcamp&sort=-tuition&page=2&limit=10
``` **Success
Response** ``` json {
"success": true,
"message": "Courses
retrieved successfully",
"data": [ {
"_id":
"5d725c84c4ded7bcb480eaa0",
"title": "Full Stack
Web Development",
"description": "In
this course you will learn full
stack web development, first
learning all about the frontend with
HTML/CSS/JS/Vue and then the backend
with Node.js/Express/MongoDB",
"weeks": 12,
"tuition": 10000,
"minimumSkill":
"intermediate",
"scholarshipAvailable":
false, "bootcamp":
"5d713995b721c3bb38c1f5d0",
"createdAt":
"2025-09-21T19:58:43.423Z",
"__v": 0 }, {
"_id":
"5d725a4a7b292f5f8ceff789",
"title": "Front End
Web Development",
"description": "This
course will provide you with all of
the essentials to become a
successful frontend web developer.
You will learn to master HTML, CSS
and front end JavaScript, along with
tools like Git, VSCode and front end
frameworks like Vue",
"weeks": 8,
"tuition": 8000,
"minimumSkill":
"beginner",
"scholarshipAvailable":
false, "bootcamp":
"5d713995b721c3bb38c1f5d0",
"createdAt":
"2025-09-21T19:58:43.422Z",
"__v": 0 }, {
"_id":
"5d725cb9c4ded7bcb480eaa1",
"title": "Full Stack
Web Dev",
"description": "In
this course you will learn all about
the front end with HTML, CSS and
JavaScript. You will master tools
like Git and Webpack and also learn
C# and ASP.NET with Postgres",
"weeks": 10,
"tuition": 12000,
"minimumSkill":
"intermediate",
"scholarshipAvailable":
false, "bootcamp":
"5d713a66ec8f2b88b8f830b8",
"createdAt":
"2025-09-21T19:58:43.424Z",
"__v": 0 }, {
"_id":
"5d725cfec4ded7bcb480eaa4",
"title": "Data
Science Program",
"description": "In
this course you will learn Python
for data science, machine learning
and big data tools",
"weeks": 10,
"tuition": 9000,
"minimumSkill":
"intermediate",
"scholarshipAvailable":
false, "bootcamp":
"5d725a037b292f5f8ceff787",
"createdAt":
"2025-09-21T19:58:43.425Z",
"__v": 0 }, {
"_id":
"5d725cfec4ded7bcb480eaa5",
"title": "Web
Development",
"description": "This
course will teach you how to build
high quality web applications with
technologies like React, Node.js,
PHP & Laravel",
"weeks": 8,
"tuition": 8000,
"minimumSkill":
"beginner",
"scholarshipAvailable":
false, "bootcamp":
"5d725a1b7b292f5f8ceff788",
"createdAt":
"2025-09-21T19:58:43.426Z",
"__v": 0 }, {
"_id":
"5d725cfec4ded7bcb480eaa6",
"title": "Software
QA", "description":
"This course will teach you
everything you need to know about
quality assurance",
"weeks": 6,
"tuition": 5000,
"minimumSkill":
"intermediate",
"scholarshipAvailable":
false, "bootcamp":
"5d725a1b7b292f5f8ceff788",
"createdAt":
"2025-09-21T19:58:43.426Z",
"__v": 0 }, {
"_id":
"5d725cfec4ded7bcb480eaa7",
"title": "IOS
Development",
"description": "Get
started building mobile applications
for IOS using Swift and other
tools", "weeks": 8,
"tuition": 6000,
"minimumSkill":
"intermediate",
"scholarshipAvailable":
false, "bootcamp":
"5d725a1b7b292f5f8ceff788",
"createdAt":
"2025-09-21T19:58:43.426Z",
"__v": 0 }, {
"_id":
"5d725cd2c4ded7bcb480eaa2",
"title":
"UI/UX",
"description": "In
this course you will learn to create
beautiful interfaces. It is a mix of
design and development to create
modern user experiences on both web
and mobile", "weeks":
12, "tuition": 10000,
"minimumSkill":
"intermediate",
"scholarshipAvailable":
false, "bootcamp":
"5d713a66ec8f2b88b8f830b8",
"createdAt":
"2025-09-21T19:58:43.424Z",
"__v": 0 }, {
"_id":
"5d725ce8c4ded7bcb480eaa3",
"title": "Web Design
& Development",
"description": "Get
started building websites and web
apps with HTML/CSS/JavaScript/PHP.
We teach you",
"weeks": 10,
"tuition": 12000,
"minimumSkill":
"beginner",
"scholarshipAvailable":
false, "bootcamp":
"5d725a037b292f5f8ceff787",
"createdAt":
"2025-09-21T19:58:43.425Z",
"__v": 0 } ] }
``` ## **Error
Response** ``` {
"success": false,
"error": "No Courses
Found", "data": null
} ```
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3d8ce848-2776-4edc-8870-55525e026b9d |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:01 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 1078 |
| Connection | keep-alive |
| CF-RAY | 9896e41bed2d6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"b43-4grFqrdebY9tAmJyLPESg0JvJlY" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=940; t=715 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 6d4cea7a-4f90-4c86 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"count":2,"total":9,"page":2,"pages":5,"hasNextPage":true,"hasPrevPage":true,"message":"Resource found successfully","data":[{"_id":"5d725cfec4ded7bcb480eaa7","title":"IOS Development","description":"Get started building mobile applications for IOS using Swift and other tools","weeks":8,"tuition":6000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":{"location":{"type":"Point","coordinates":[-71.5256458,41.4827358],"formattedAddress":"45, Upper College Road, Kingston, South Kingstown, South County, Rhode Island, 02881, United States","street":"Upper College Road","city":"South Kingstown","state":"Rhode Island","zipcode":"02881","country":"US","provider":"openstreetmap"},"_id":"5d725a1b7b292f5f8ceff788","name":"Devcentral Bootcamp","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in front end and full stack web development","website":"https://devcentral.com","phone":"(444) 444-4444","email":"enroll@devcentral.com","careers":["Mobile Development","Web Development","Data Science","Business"],"averageCost":6340,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":true,"acceptGi":true,"user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:57:44.395Z","slug":"devcentral-bootcamp","averageRating":10,"id":"5d725a1b7b292f5f8ceff788"},"user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:53.944Z","__v":0},{"_id":"5d725cfec4ded7bcb480eaa4","title":"Data Science Program","description":"In this course you will learn Python for data science, machine learning and big data tools","weeks":10,"tuition":9000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":{"location":{"type":"Point","coordinates":[-73.2011724,44.4782757],"formattedAddress":"Waterman Building, 85, South Prospect Street, Burlington, Chittenden County, Vermont, 05401, United States","street":"South Prospect Street","city":"Burlington","state":"Vermont","zipcode":"05401","country":"US","provider":"openstreetmap"},"_id":"5d725a037b292f5f8ceff787","name":"Codemasters","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in full stack web development and data science","website":"https://codemasters.com","phone":"(333) 333-3333","email":"enroll@codemasters.com","careers":["Web Development","Data Science","Business"],"averageCost":10500,"photo":"no-photo.jpg","housing":false,"jobAssistance":false,"jobGuarantee":false,"acceptGi":false,"user":"5c8a1d5b0190b214360dc031","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:47:54.363Z","slug":"codemasters","id":"5d725a037b292f5f8ceff787"},"user":"5c8a1d5b0190b214360dc031","createdAt":"2025-09-29T23:47:53.943Z","__v":0}]}
### 3\. Get Courses for a Specific
Bootcamp - **Endpoint:** `GET
/api/v1/bootcamps/:bootcampId/courses`
- **Access:** Public -
**Description:** Retrieves all
courses that belong to a specific
bootcamp. The `bootcampId`
parameter in the URL identifies the
bootcamp. **URL Parameters:** |
Parameter | Type | Description | |
--- | --- | --- | |
`bootcampId` | String |
The ID of the bootcamp to filter
courses by. | **Example Response:**
``` json {
"success": true,
"count": 2,
"data": [ {
"_id":
"654321abcd",
"title": "Full Stack
Web Development",
"description": "Learn
to build web applications using
Node.js, React, and MongoDB.",
"weeks": 12,
"tuition": 1200,
"minimumSkill":
"beginner",
"scholarshipAvailable":
true, "bootcamp":
"12345bootcamp",
"createdAt":
"2025-09-24T10:00:00Z" },
{ "_id":
"654322efgh",
"title": "Frontend
Development",
"description":
"Master HTML, CSS, and
JavaScript to build responsive
websites.", "weeks":
8, "tuition": 800,
"minimumSkill":
"beginner",
"scholarshipAvailable":
false, "bootcamp":
"12345bootcamp",
"createdAt":
"2025-09-24T10:00:00Z" } ]
} ```
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 38b87f99-e69d-465f-b310-5a611ec118a3 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:03 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 531 |
| Connection | keep-alive |
| CF-RAY | 9896e4243e556470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"416-F9Djckb1Miaf/egw+P/Cr7Sguds" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=939; t=714 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | b8567cc4-44f9-4c5b |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"message":"Courses retrieved successfully","data":[{"_id":"5d725a4a7b292f5f8ceff789","title":"Front End Web Development","description":"This course will provide you with all of the essentials to become a successful frontend web developer. You will learn to master HTML, CSS and front end JavaScript, along with tools like Git, VSCode and front end frameworks like Vue","weeks":8,"tuition":8000,"minimumSkill":"beginner","scholarshipAvailable":false,"bootcamp":"5d713995b721c3bb38c1f5d0","user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:53.940Z","__v":0},{"_id":"5d725c84c4ded7bcb480eaa0","title":"Full Stack Web Development","description":"In this course you will learn full stack web development, first learning all about the frontend with HTML/CSS/JS/Vue and then the backend with Node.js/Express/MongoDB","weeks":12,"tuition":10000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":"5d713995b721c3bb38c1f5d0","user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:53.941Z","__v":0}]}
### Create a New Course -
**Endpoint:** `POST
/api/v1/courses` - **Access:**
Private (Admin) - **Description:**
Creates a new course and associates
it with a specific bootcamp. Only
admins are allowed to perform this
action. **Request Body Parameters:**
| Field | Type | Required |
Description | | --- | --- | --- |
--- | | `title` | String |
Yes | The name of the course. | |
`description` | String |
Yes | A detailed description of the
course. | | `weeks` |
Number | Yes | Duration of the
course in weeks. | |
`tuition` | Number | Yes |
Tuition cost for the course. | |
`minimumSkill` | String |
Yes | Required skill level
(`beginner`,
`intermediate`,
`advanced`). | |
`scholarshipAvailable` |
Boolean | No | Indicates if
scholarships are available (default:
`false`). | |
`bootcamp` | ObjectId |
Yes | The ID of the bootcamp this
course belongs to. | **Example
Request:** ``` json {
"title": "Advanced
JavaScript",
"description": "Deep
dive into ES6+, asynchronous
programming, and modern JS
frameworks.",
"weeks": 6,
"tuition": 900,
"minimumSkill":
"intermediate",
"scholarshipAvailable":
true, "bootcamp":
"12345bootcamp" }
```
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 58908736-42b6-4152-9a5f-3e405459f40f |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 339 |
{
"title": "Web Development new Test 2",
"description": "This course will teach you how to build high quality web applications with technologies like React, Node.js, PHP & Laravel",
"weeks": 8,
"tuition": 8000,
"minimumSkill": "beginner",
"scholarshipsAvailable": false,
"bootcamp": "5d713995b721c3bb38c1f5d0"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:03 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e42eaa736470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=938; t=712 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 229a9189-d3aa-4c66 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
## Get a Single Course -
**Endpoint:** `GET
/api/v1/courses/:id` -
**Access:** Public ### Description
Retrieves details of a single course
by its unique ID. The response
includes the course information
along with selected details of the
associated bootcamp (e.g., name and
description).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2c6efda3-cfa0-439e-b296-a4bbd47518ad |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:04 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 832 |
| Connection | keep-alive |
| CF-RAY | 9896e432bf066470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"5d8-c5ZdFU7rfRk94DmBZLteeWF7mRs" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=937; t=711 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 65a45296-a7ba-40be |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"message":"Course retrieved successfully","data":{"_id":"5d725c84c4ded7bcb480eaa0","title":"Full Stack Web Development","description":"In this course you will learn full stack web development, first learning all about the frontend with HTML/CSS/JS/Vue and then the backend with Node.js/Express/MongoDB","weeks":12,"tuition":10000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":{"location":{"type":"Point","coordinates":[-71.1038666,42.3508609],"formattedAddress":"Alan & Sherry Leventhal Center, 233, Bay State Road, Fenway, Boston, Suffolk County, Massachusetts, 02215, United States","street":"Bay State Road","city":"Boston","state":"Massachusetts","zipcode":"02215","country":"US","provider":"openstreetmap"},"_id":"5d713995b721c3bb38c1f5d0","name":"Devworks Bootcamp","description":"Devworks is a full stack JavaScript Bootcamp located in the heart of Boston that focuses on the technologies you need to get a high paying job as a web developer","website":"https://devworks.com","phone":"(111) 111-1111","email":"enroll@devworks.com","careers":["Web Development","UI/UX","Business"],"averageCost":9000,"photo":"no-photo.jpg","housing":true,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:49.665Z","updatedAt":"2025-09-29T23:47:54.060Z","slug":"devworks-bootcamp","id":"5d713995b721c3bb38c1f5d0"},"user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:53.941Z","__v":0}}
### Update a Course - **Endpoint:**
`PUT /api/v1/courses/:id`
- **Access:** Private (Admin) -
**Description:** Updates an existing
course by its ID. Only admins are
allowed to perform this action. You
can send one or multiple fields to
update. **URL Parameters:** |
Parameter | Type | Description | |
--- | --- | --- | | `id` |
String | The ID of the course to
update. | **Request Body
Parameters:** (Send only the fields
you want to update) | Field | Type |
Description | | --- | --- | --- | |
`title` | String | The
name of the course. | |
`description` | String | A
detailed description of the course.
| | `weeks` | Number |
Duration of the course in weeks. | |
`tuition` | Number |
Tuition cost for the course. | |
`minimumSkill` | String |
Required skill level
(`beginner`,
`intermediate`,
`advanced`). | |
`scholarshipAvailable` |
Boolean | Indicates if scholarships
are available. | |
`bootcamp` | ObjectId |
The ID of the bootcamp this course
belongs to. |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9eaafba7-c888-439f-ade8-f26eb048cad9 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 328 |
{
"title": "Web Development",
"description": "This course will teach you how to build high quality web applications with technologies like React, Node.js, PHP & Laravel",
"weeks": 8,
"tuition": 8000,
"minimumSkill": "advanced",
"scholarshipsAvailable": false,
"bootcamp": "5d725a1b7b292f5f8ceff788"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:05 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e4395e5b6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=936; t=710 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | d282eba1-c823-445f |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
### Delete a Course - **Endpoint:**
`DELETE
/api/v1/courses/:id` -
**Access:** Private (Admin) -
**Description:** Deletes a specific
course by its ID. Only admins are
allowed to perform this action. Once
deleted, the course cannot be
recovered. **URL Parameters:** |
Parameter | Type | Description | |
--- | --- | --- | | `id` |
String | The ID of the course to
delete. |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 526478e7-a5e6-4618-817d-909b1d73a438 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:06 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 832 |
| Connection | keep-alive |
| CF-RAY | 9896e43d5ae76470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"5d8-c5ZdFU7rfRk94DmBZLteeWF7mRs" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=935; t=710 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | d24be299-e4d6-435d |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"message":"Course retrieved successfully","data":{"_id":"5d725c84c4ded7bcb480eaa0","title":"Full Stack Web Development","description":"In this course you will learn full stack web development, first learning all about the frontend with HTML/CSS/JS/Vue and then the backend with Node.js/Express/MongoDB","weeks":12,"tuition":10000,"minimumSkill":"intermediate","scholarshipAvailable":false,"bootcamp":{"location":{"type":"Point","coordinates":[-71.1038666,42.3508609],"formattedAddress":"Alan & Sherry Leventhal Center, 233, Bay State Road, Fenway, Boston, Suffolk County, Massachusetts, 02215, United States","street":"Bay State Road","city":"Boston","state":"Massachusetts","zipcode":"02215","country":"US","provider":"openstreetmap"},"_id":"5d713995b721c3bb38c1f5d0","name":"Devworks Bootcamp","description":"Devworks is a full stack JavaScript Bootcamp located in the heart of Boston that focuses on the technologies you need to get a high paying job as a web developer","website":"https://devworks.com","phone":"(111) 111-1111","email":"enroll@devworks.com","careers":["Web Development","UI/UX","Business"],"averageCost":9000,"photo":"no-photo.jpg","housing":true,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:49.665Z","updatedAt":"2025-09-29T23:47:54.060Z","slug":"devworks-bootcamp","id":"5d713995b721c3bb38c1f5d0"},"user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:53.941Z","__v":0}}
## Get All Reviews **GET**
`/api/v1/reviews`
**Access:** Public --- ###
Description Fetches all reviews.
Supports advanced query filtering,
sorting, and pagination using
middleware
(\`res.advanceResults\`).
### Example Response
``` json {
"success": true,
"count": 2,
"data": [ {
"_id":
"6512a8f9e18a5b3c9c1aab77",
"title": "Great
Bootcamp", "text":
"I learned so much here!",
"rating": 9,
"bootcamp":
"6512a8f9e18a5b3c9c1aab12",
"user":
"6501a8f9e18a5b3c9c1aab15"
}, { "_id":
"6512a8f9e18a5b3c9c1aab78",
"title": "Not
bad", "text":
"Good instructors but could
improve the projects.",
"rating": 7,
"bootcamp":
"6512a8f9e18a5b3c9c1aab13",
"user":
"6501a8f9e18a5b3c9c1aab16"
} ] } ```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 75782a65-8974-42e6-9b7a-93ef4d226272 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:07 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 2334 |
| Connection | keep-alive |
| CF-RAY | 9896e44449f96470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"4498-MIXKlcVwWXeGOST7vYMcSGcSQac" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=934; t=709 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | edb35625-37b7-4d24 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"count":9,"total":9,"page":1,"pages":1,"hasNextPage":false,"hasPrevPage":false,"message":"Resource found successfully","data":[{"_id":"68db1cf82ce5b84d397afe30","title":"Learned a ton!","rating":8,"comment":"This is a outstanding bootcamp and i love it","user":{"_id":"68db1b4e99c0af523eca11c3","name":"Souvik 2","email":"souvikinfo-new@gmail.com","active":true,"role":"admin","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:50:38.293Z","updatedAt":"2025-09-29T23:50:38.293Z","slug":"Souvik-2","__v":0,"id":"68db1b4e99c0af523eca11c3"},"bootcamp":{"location":{"type":"Point","coordinates":[-71.5256458,41.4827358],"formattedAddress":"45, Upper College Road, Kingston, South Kingstown, South County, Rhode Island, 02881, United States","street":"Upper College Road","city":"South Kingstown","state":"Rhode Island","zipcode":"02881","country":"US","provider":"openstreetmap"},"_id":"5d725a1b7b292f5f8ceff788","name":"Devcentral Bootcamp","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in front end and full stack web development","website":"https://devcentral.com","phone":"(444) 444-4444","email":"enroll@devcentral.com","careers":["Mobile Development","Web Development","Data Science","Business"],"averageCost":6340,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":true,"acceptGi":true,"user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:57:44.395Z","slug":"devcentral-bootcamp","averageRating":10,"id":"5d725a1b7b292f5f8ceff788"},"createdAt":"2025-09-29T23:57:44.212Z","updatedAt":"2025-09-29T23:57:44.212Z","__v":0,"id":"68db1cf82ce5b84d397afe30"},{"_id":"5d7a514b5d2c12c7449be027","title":"Was worth the investment","rating":7,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc040","name":"Sara Kensing","email":"sara@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.417Z","updatedAt":"2025-09-29T23:47:54.417Z","slug":"Sara-Kensing","__v":0,"id":"5c8a1d5b0190b214360dc040"},"bootcamp":{"location":{"type":"Point","coordinates":[-71.5256458,41.4827358],"formattedAddress":"45, Upper College Road, Kingston, South Kingstown, South County, Rhode Island, 02881, United States","street":"Upper College Road","city":"South Kingstown","state":"Rhode Island","zipcode":"02881","country":"US","provider":"openstreetmap"},"_id":"5d725a1b7b292f5f8ceff788","name":"Devcentral Bootcamp","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in front end and full stack web development","website":"https://devcentral.com","phone":"(444) 444-4444","email":"enroll@devcentral.com","careers":["Mobile Development","Web Development","Data Science","Business"],"averageCost":6340,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":true,"acceptGi":true,"user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:57:44.395Z","slug":"devcentral-bootcamp","averageRating":10,"id":"5d725a1b7b292f5f8ceff788"},"createdAt":"2025-09-29T23:47:55.489Z","updatedAt":"2025-09-29T23:47:55.489Z","__v":0,"id":"5d7a514b5d2c12c7449be027"},{"_id":"5d7a514b5d2c12c7449be026","title":"Best instructors","rating":10,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc039","name":"Ryan Bolin","email":"ryan@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.417Z","updatedAt":"2025-09-29T23:47:54.417Z","slug":"Ryan-Bolin","__v":0,"id":"5c8a1d5b0190b214360dc039"},"bootcamp":{"location":{"type":"Point","coordinates":[-71.5256458,41.4827358],"formattedAddress":"45, Upper College Road, Kingston, South Kingstown, South County, Rhode Island, 02881, United States","street":"Upper College Road","city":"South Kingstown","state":"Rhode Island","zipcode":"02881","country":"US","provider":"openstreetmap"},"_id":"5d725a1b7b292f5f8ceff788","name":"Devcentral Bootcamp","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in front end and full stack web development","website":"https://devcentral.com","phone":"(444) 444-4444","email":"enroll@devcentral.com","careers":["Mobile Development","Web Development","Data Science","Business"],"averageCost":6340,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":true,"acceptGi":true,"user":"5c8a1d5b0190b214360dc032","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:57:44.395Z","slug":"devcentral-bootcamp","averageRating":10,"id":"5d725a1b7b292f5f8ceff788"},"createdAt":"2025-09-29T23:47:55.489Z","updatedAt":"2025-09-29T23:47:55.489Z","__v":0,"id":"5d7a514b5d2c12c7449be026"},{"_id":"5d7a514b5d2c12c7449be025","title":"Not worth the money","rating":5,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc038","name":"Barry Dickens","email":"barry@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.416Z","updatedAt":"2025-09-29T23:47:54.416Z","slug":"Barry-Dickens","__v":0,"id":"5c8a1d5b0190b214360dc038"},"bootcamp":{"location":{"type":"Point","coordinates":[-73.2011724,44.4782757],"formattedAddress":"Waterman Building, 85, South Prospect Street, Burlington, Chittenden County, Vermont, 05401, United States","street":"South Prospect Street","city":"Burlington","state":"Vermont","zipcode":"05401","country":"US","provider":"openstreetmap"},"_id":"5d725a037b292f5f8ceff787","name":"Codemasters","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in full stack web development and data science","website":"https://codemasters.com","phone":"(333) 333-3333","email":"enroll@codemasters.com","careers":["Web Development","Data Science","Business"],"averageCost":10500,"photo":"no-photo.jpg","housing":false,"jobAssistance":false,"jobGuarantee":false,"acceptGi":false,"user":"5c8a1d5b0190b214360dc031","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:47:54.363Z","slug":"codemasters","id":"5d725a037b292f5f8ceff787"},"createdAt":"2025-09-29T23:47:55.489Z","updatedAt":"2025-09-29T23:47:55.489Z","__v":0,"id":"5d7a514b5d2c12c7449be025"},{"_id":"5d7a514b5d2c12c7449be024","title":"Great overall experience","rating":7,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc037","name":"Maggie Johnson","email":"maggie@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.416Z","updatedAt":"2025-09-29T23:47:54.416Z","slug":"Maggie-Johnson","__v":0,"id":"5c8a1d5b0190b214360dc037"},"bootcamp":{"location":{"type":"Point","coordinates":[-73.2011724,44.4782757],"formattedAddress":"Waterman Building, 85, South Prospect Street, Burlington, Chittenden County, Vermont, 05401, United States","street":"South Prospect Street","city":"Burlington","state":"Vermont","zipcode":"05401","country":"US","provider":"openstreetmap"},"_id":"5d725a037b292f5f8ceff787","name":"Codemasters","description":"Is coding your passion? Codemasters will give you the skills and the tools to become the best developer possible. We specialize in full stack web development and data science","website":"https://codemasters.com","phone":"(333) 333-3333","email":"enroll@codemasters.com","careers":["Web Development","Data Science","Business"],"averageCost":10500,"photo":"no-photo.jpg","housing":false,"jobAssistance":false,"jobGuarantee":false,"acceptGi":false,"user":"5c8a1d5b0190b214360dc031","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:47:54.363Z","slug":"codemasters","id":"5d725a037b292f5f8ceff787"},"createdAt":"2025-09-29T23:47:55.489Z","updatedAt":"2025-09-29T23:47:55.489Z","__v":0,"id":"5d7a514b5d2c12c7449be024"},{"_id":"5d7a514b5d2c12c7449be023","title":"Not that great","rating":4,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc036","name":"Jerry Wiliams","email":"jerry@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.416Z","updatedAt":"2025-09-29T23:47:54.416Z","slug":"Jerry-Wiliams","__v":0,"id":"5c8a1d5b0190b214360dc036"},"bootcamp":{"location":{"type":"Point","coordinates":[-71.3236452,42.65029],"formattedAddress":"Bank of America, 220, Pawtucket Street, The Acre, Lowell, Middlesex County, Massachusetts, 01854, United States","street":"Pawtucket Street","city":"Lowell","state":"Massachusetts","zipcode":"01854","country":"US","provider":"openstreetmap"},"_id":"5d713a66ec8f2b88b8f830b8","name":"ModernTech Bootcamp","description":"ModernTech has one goal, and that is to make you a rockstar developer and/or designer with a six figure salary. We teach both development and UI/UX","website":"https://moderntech.com","phone":"(222) 222-2222","email":"enroll@moderntech.com","careers":["Web Development","UI/UX","Mobile Development"],"averageCost":11000,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be046","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:47:54.080Z","slug":"moderntech-bootcamp","id":"5d713a66ec8f2b88b8f830b8"},"createdAt":"2025-09-29T23:47:55.489Z","updatedAt":"2025-09-29T23:47:55.489Z","__v":0,"id":"5d7a514b5d2c12c7449be023"},{"_id":"5d7a514b5d2c12c7449be020","title":"Learned a ton!","rating":8,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc033","name":"Greg Harris","email":"greg@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.416Z","updatedAt":"2025-09-29T23:47:54.416Z","slug":"Greg-Harris","__v":0,"id":"5c8a1d5b0190b214360dc033"},"bootcamp":{"location":{"type":"Point","coordinates":[-71.1038666,42.3508609],"formattedAddress":"Alan & Sherry Leventhal Center, 233, Bay State Road, Fenway, Boston, Suffolk County, Massachusetts, 02215, United States","street":"Bay State Road","city":"Boston","state":"Massachusetts","zipcode":"02215","country":"US","provider":"openstreetmap"},"_id":"5d713995b721c3bb38c1f5d0","name":"Devworks Bootcamp","description":"Devworks is a full stack JavaScript Bootcamp located in the heart of Boston that focuses on the technologies you need to get a high paying job as a web developer","website":"https://devworks.com","phone":"(111) 111-1111","email":"enroll@devworks.com","careers":["Web Development","UI/UX","Business"],"averageCost":9000,"photo":"no-photo.jpg","housing":true,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:49.665Z","updatedAt":"2025-09-29T23:47:54.060Z","slug":"devworks-bootcamp","id":"5d713995b721c3bb38c1f5d0"},"createdAt":"2025-09-29T23:47:55.488Z","updatedAt":"2025-09-29T23:47:55.488Z","__v":0,"id":"5d7a514b5d2c12c7449be020"},{"_id":"5d7a514b5d2c12c7449be021","title":"Great bootcamp","rating":10,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc034","name":"Derek Glover","email":"derek@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.416Z","updatedAt":"2025-09-29T23:47:54.416Z","slug":"Derek-Glover","__v":0,"id":"5c8a1d5b0190b214360dc034"},"bootcamp":{"location":{"type":"Point","coordinates":[-71.1038666,42.3508609],"formattedAddress":"Alan & Sherry Leventhal Center, 233, Bay State Road, Fenway, Boston, Suffolk County, Massachusetts, 02215, United States","street":"Bay State Road","city":"Boston","state":"Massachusetts","zipcode":"02215","country":"US","provider":"openstreetmap"},"_id":"5d713995b721c3bb38c1f5d0","name":"Devworks Bootcamp","description":"Devworks is a full stack JavaScript Bootcamp located in the heart of Boston that focuses on the technologies you need to get a high paying job as a web developer","website":"https://devworks.com","phone":"(111) 111-1111","email":"enroll@devworks.com","careers":["Web Development","UI/UX","Business"],"averageCost":9000,"photo":"no-photo.jpg","housing":true,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be045","createdAt":"2025-09-29T23:47:49.665Z","updatedAt":"2025-09-29T23:47:54.060Z","slug":"devworks-bootcamp","id":"5d713995b721c3bb38c1f5d0"},"createdAt":"2025-09-29T23:47:55.488Z","updatedAt":"2025-09-29T23:47:55.488Z","__v":0,"id":"5d7a514b5d2c12c7449be021"},{"_id":"5d7a514b5d2c12c7449be022","title":"Got me a developer job","rating":7,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc035","name":"Stephanie Hanson","email":"steph@gmail.com","active":true,"role":"user","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:47:54.416Z","updatedAt":"2025-09-29T23:47:54.416Z","slug":"Stephanie-Hanson","__v":0,"id":"5c8a1d5b0190b214360dc035"},"bootcamp":{"location":{"type":"Point","coordinates":[-71.3236452,42.65029],"formattedAddress":"Bank of America, 220, Pawtucket Street, The Acre, Lowell, Middlesex County, Massachusetts, 01854, United States","street":"Pawtucket Street","city":"Lowell","state":"Massachusetts","zipcode":"01854","country":"US","provider":"openstreetmap"},"_id":"5d713a66ec8f2b88b8f830b8","name":"ModernTech Bootcamp","description":"ModernTech has one goal, and that is to make you a rockstar developer and/or designer with a six figure salary. We teach both development and UI/UX","website":"https://moderntech.com","phone":"(222) 222-2222","email":"enroll@moderntech.com","careers":["Web Development","UI/UX","Mobile Development"],"averageCost":11000,"photo":"no-photo.jpg","housing":false,"jobAssistance":true,"jobGuarantee":false,"acceptGi":true,"user":"5d7a514b5d2c12c7449be046","createdAt":"2025-09-29T23:47:49.666Z","updatedAt":"2025-09-29T23:47:54.080Z","slug":"moderntech-bootcamp","id":"5d713a66ec8f2b88b8f830b8"},"createdAt":"2025-09-29T23:47:55.488Z","updatedAt":"2025-09-29T23:47:55.488Z","__v":0,"id":"5d7a514b5d2c12c7449be022"}]}
## Get a Single Review **GET**
`/api/v1/reviews/:id`
**Access:** Public --- ###
Description Fetches a single review
by its id. Populates related
bootcamp and user fields (only name
is returned). ### Example Response
``` json { {
"success": true,
"message": "Found
Review", "data": {
"_id":
"6512a8f9e18a5b3c9c1aab77",
"title": "Great
Bootcamp", "text":
"I learned so much here!",
"rating": 9,
"bootcamp": {
"_id":
"6512a8f9e18a5b3c9c1aab12",
"name": "Code Mastery
Bootcamp" }, "user":
{ "_id":
"6501a8f9e18a5b3c9c1aab15",
"name": "John
Doe" } } } } ```
### Request Parameters -
`id` (required): The ID of
the review to fetch.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f0f112a5-eebb-427e-a9bb-687c6f6c4dec |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:08 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 505 |
| Connection | keep-alive |
| CF-RAY | 9896e44c8a836470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"376-BOqvO6IJ/RkE9aInnq6OG2vHSdQ" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=933; t=707 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 9b1ff6d8-ff24-4be7 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"message":"Found Review","data":{"_id":"5d7a514b5d2c12c7449be027","title":"Was worth the investment","rating":7,"comment":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra feugiat mauris id viverra. Duis luctus ex sed facilisis ultrices. Curabitur scelerisque bibendum ligula, quis condimentum libero fermentum in. Aenean erat erat, aliquam in purus a, rhoncus hendrerit tellus. Donec accumsan justo in felis consequat sollicitudin. Fusce luctus mattis nunc vitae maximus. Curabitur semper felis eu magna laoreet scelerisque","user":{"_id":"5c8a1d5b0190b214360dc040","name":"Sara Kensing","id":"5c8a1d5b0190b214360dc040"},"bootcamp":{"_id":"5d725a1b7b292f5f8ceff788","name":"Devcentral Bootcamp","id":"5d725a1b7b292f5f8ceff788"},"createdAt":"2025-09-29T23:47:55.489Z","updatedAt":"2025-09-29T23:47:55.489Z","__v":0,"id":"5d7a514b5d2c12c7449be027"}}
### Create a Rating **POST**
`/api/v1/reviews/:bootcampId/ratings`
**Access:** Private/admin --- ###
Description Creates a rating for a
specific bootcamp. Populates related
bootcamp field (only name is
returned). ### Request Body:
``` json {
"title": "Great
Bootcamp", "text":
"The instructors were amazing
and the content was well
structured.",
"rating": 10 }
``` ### Request
Params - `bootcampId`
(required): The ID of the bootcamp
to rate.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 88cee3d2-c73e-44d7-834d-0721149cd92d |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
{
"title": "Learned a ton!",
"comment": "This is a outstanding bootcamp and i love it",
"rating": 8
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:09 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e4543b4e6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=932; t=706 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | b91a4ed2-b198-4696 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
### Delete a Rating **DELETE**
`/api/v1/reviews/:id`
**Access:** Private/admin --- ###
Description Deletes a rating for a
specific review. Populates related
bootcamp field (only name is
returned). ### Request Params -
`id` (required): The ID of
the review to delete.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8ef8d29c-5465-4d2f-9be1-49878d56ac33 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:10 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e459588f6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=931; t=705 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 1e9a9330-ee3a-4d3b |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
### Update a Rating **PUT**
`/api/v1/reviews/:id`
**Access:** Private/admin --- ###
Description Updates a rating for a
specific review. Populates related
bootcamp field (only name is
returned). ### Request Body:
``` json {
"title": "Updated
Review", "rating": 8
} ``` ### Request
Params - `id` (required):
The ID of the review to
update.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer {{TOKEN}} |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2a22bfad-df19-46d7-a9e1-62dc49e9a61d |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 19 |
{
"rating": 9
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:11 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e45f1ef16470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=930; t=704 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | a92e6dc6-65b2-4e4b |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
## Register a User **POST**
`/api/v1/auth/register`
**Access:** Public --- ###
Description Registers a new user in
the system with `name`,
`email`,
`password`, and
`role`. Returns a JWT
token and user details. ### Request
Body ``` json {
"name": "John
Doe", "email":
"john@example.com",
"password":
"secret123",
"role": "user" }
``` ### Example
Response ``` json {
"success": true,
"message": "User
Registerd Successfully",
"data": { "_id":
"6501a8f9e18a5b3c9c1aab12",
"name": "John
Doe", "email":
"john@example.com",
"role": "user",
"createdAt":
"2025-10-01T10:30:00.000Z"
}, "token":
"jwt_token_here" }
```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f325de0-e9b3-44d1-bd19-6182953bb01e |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 116 |
{
"name": "Souvik 2",
"email": "souvikinfo-new@gmail.com",
"role": "admin",
"password": "12345667"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:12 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 62 |
| Connection | keep-alive |
| CF-RAY | 9896e4643c8b6470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"3e-S6YxHZKggvDrphyLiz1JdfTYLXE" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=929; t=703 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 7bda1bc7-5ad7-4b1c |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"The name must be Uniqe","data":null}
### Login User **POST**
`/api/v1/auth/login`
**Access:** Public --- ###
Description Logs in a user using
email and password. Returns a JWT
token and user details. ### Request
Body: ``` json {
"email":
"john@example.com",
"password":
"secret123" }
```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c213bbf4-e266-4c89-8137-16ec71e69e4b |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 71 |
{
"email": "souvikinfo-new@gmail.com",
"password": "12345667"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:14 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 459 |
| Connection | keep-alive |
| CF-RAY | 9896e46d2e956470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"277-g04/oRDdNMRg2gelou0EE6O1S3g" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=928; t=702 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 86162cbd-ca03-47b3 |
| Set-Cookie | token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4ZGIxYjRlOTljMGFmNTIzZWNhMTFjMyIsImlhdCI6MTc1OTYwNDExNCwiZXhwIjoxNzYyMTk2MTE0fQ.JmJastdElhDvA2YhzP1wJnCBNnFFkT6eQ0PsR2rav4E; Path=/; Expires=Mon, 03 Nov 2025 18:55:14 GMT; HttpOnly; Secure |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":true,"message":"User Loggedin Successfully","data":{"_id":"68db1b4e99c0af523eca11c3","name":"Souvik 2","email":"souvikinfo-new@gmail.com","password":"$2b$10$.5ROOzNc4jg1dcbk.ERsq.OYQevrFEO6hi5ZAcPzcw1MtgVxMacxq","active":true,"role":"admin","profilePicture":"no-image.png","coverPhoto":"no-image.png","createdAt":"2025-09-29T23:50:38.293Z","updatedAt":"2025-09-29T23:50:38.293Z","slug":"Souvik-2","__v":0,"id":"68db1b4e99c0af523eca11c3"},"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4ZGIxYjRlOTljMGFmNTIzZWNhMTFjMyIsImlhdCI6MTc1OTYwNDExNCwiZXhwIjoxNzYyMTk2MTE0fQ.JmJastdElhDvA2YhzP1wJnCBNnFFkT6eQ0PsR2rav4E"}
### Get Current User **GET**
`/api/v1/auth/me`
**Access:** Private/admin or
publisher (JWT Token required) ---
### Description Retrieves the
currently logged-in user’s details
using their JWT token.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4ZGIxYjRlOTljMGFmNTIzZWNhMTFjMyIsImlhdCI6MTc1OTYwNDExNCwiZXhwIjoxNzYyMTk2MTE0fQ.JmJastdElhDvA2YhzP1wJnCBNnFFkT6eQ0PsR2rav4E |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5c7bf669-d9bd-45b4-81af-b62a4ef908ee |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 64 |
{
"email": "admin44@gmail.com",
"password": "12345667"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:15 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e475afa66470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=927; t=701 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | d2996bf2-5425-4fda |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
### Forgot Password **GET**
`/api/v1/auth/forgotpassword`
**Access:** Public --- ###
Description Generates a reset
password token and sends a reset
link to the user’s email. ###
Request Body ``` json
{ "email":
"john@example.com" }
```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5e8d6f40-4b1c-44a3-b3c1-80950b1314ee |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 39 |
{
"email": "souvikinfo@gmail.com"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:16 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 53 |
| Connection | keep-alive |
| CF-RAY | 9896e479fbe16470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"35-C6aJ1iwMtq7TAxmWaqCZVir7rB4" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=926; t=700 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 35a6fb68-8ab7-4446 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"No User Found","data":null}
### Reset Password **POST**
`/api/v1/auth/resetpassword/:token`
**Access:** Public --- ###
Description Resets the user's
password using the provided reset
token and new password. ### Request
Body: ``` json {
"success": true,
"message": "Password
Reset Successfully",
"token":
"jwt_token_here" }
``` ### Request
Params - `token`
(required): The reset password token
received in the email.
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5d4532e9-6f7b-4cd9-8a3c-faaebe934737 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 31 |
{
"password": "deltainfo"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:17 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e4806ad26470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"35-jDXZ0kcPryxVt9QTFHEr1m4MoKU" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=925; t=699 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | 19a135e3-e137-4ade |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Invalid Token","data":null}
### Update User Details **PUT**
`/api/v1/auth/updateuser`
**Access:** Private/admin or
publisher (JWT Token required) ---
### Description Updates the details
of a user using their JWT token.
Only the fields provided in the
request body will be updated. ###
Request Body: ```
json { "name":
"Updated Name",
"email":
"updated@example.com" }
```
| Header Name | Header Value |
|---|---|
| content-type | application/json |
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4ZGIxYjRlOTljMGFmNTIzZWNhMTFjMyIsImlhdCI6MTc1OTYwNDExNCwiZXhwIjoxNzYyMTk2MTE0fQ.JmJastdElhDvA2YhzP1wJnCBNnFFkT6eQ0PsR2rav4E |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3d6276bb-89a0-45c7-b88b-d45a97eabc41 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 67 |
{
"email": "souvikinfo2@gmail.com",
"name": "Souvik-demo"
}
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:17 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 54 |
| Connection | keep-alive |
| CF-RAY | 9896e486c9686470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| etag | W/"36-3ax2ag1fmfG29mA33afjBUuF+38" |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=924; t=698 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | fa77e930-b335-4e86 |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
{"success":false,"error":"Not authorized","data":null}
### Logout User **GET**
`/api/v1/auth/logout`
**Access:** Public --- ###
Description Logs out the current
user by clearing the JWT
cookie.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 78959d82-bb44-4bf3-bea3-dc4453497267 |
| Host | mentorgrid.live |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Sat, 04 Oct 2025 18:55:18 GMT |
| Content-Type | text/html; charset=utf-8 |
| Content-Length | 114 |
| Connection | keep-alive |
| CF-RAY | 9896e48b4ea16470-BOM |
| access-control-allow-credentials | true |
| access-control-allow-origin | * |
| Content-Encoding | br |
| content-security-policy | default-src 'none' |
| cross-origin-opener-policy | same-origin |
| cross-origin-resource-policy | same-origin |
| origin-agent-cluster | ?1 |
| ratelimit | "1000-in-15min"; r=923; t=697 |
| ratelimit-policy | "1000-in-15min"; q=1000; w=900; pk=:YmIwY2Q1MTM2YWU1: |
| referrer-policy | no-referrer |
| rndr-id | a6723042-3716-401f |
| strict-transport-security | max-age=31536000; includeSubDomains |
| vary | Accept-Encoding |
| x-content-type-options | nosniff |
| x-dns-prefetch-control | off |
| x-download-options | noopen |
| x-frame-options | SAMEORIGIN |
| x-permitted-cross-domain-policies | none |
| x-render-origin-server | Render |
| x-xss-protection | 0 |
| cf-cache-status | DYNAMIC |
| Server | cloudflare |
| alt-svc | h3=":443"; ma=86400 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/v1/api/v1/auth/logout</pre>
</body>
</html>