curl --request GET \
--url https://your-api-host/api/student/list
[
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d1",
"name": "Priya Sharma",
"email": "priya.sharma@school.edu",
"class": "10",
"section": "A",
"rollNumber": 42,
"__v": 0
},
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d2",
"name": "Arjun Mehta",
"email": "arjun.mehta@school.edu",
"class": "9",
"section": "B",
"rollNumber": 17,
"__v": 0
},
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d3",
"name": "Sneha Patel",
"email": "sneha.patel@school.edu",
"class": "10",
"section": "B",
"rollNumber": 5,
"__v": 0
}
]
Retrieve a list of all student records in the system.
curl --request GET \
--url https://your-api-host/api/student/list
[
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d1",
"name": "Priya Sharma",
"email": "priya.sharma@school.edu",
"class": "10",
"section": "A",
"rollNumber": 42,
"__v": 0
},
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d2",
"name": "Arjun Mehta",
"email": "arjun.mehta@school.edu",
"class": "9",
"section": "B",
"rollNumber": 17,
"__v": 0
},
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d3",
"name": "Sneha Patel",
"email": "sneha.patel@school.edu",
"class": "10",
"section": "B",
"rollNumber": 5,
"__v": 0
}
]
Returns an array of all student records stored in the database. No filtering or pagination is applied — all students are returned in a single response.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/praveenarya123/sps-backend/llms.txt
Use this file to discover all available pages before exploring further.
Hide Student object properties
curl --request GET \
--url https://your-api-host/api/student/list
[
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d1",
"name": "Priya Sharma",
"email": "priya.sharma@school.edu",
"class": "10",
"section": "A",
"rollNumber": 42,
"__v": 0
},
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d2",
"name": "Arjun Mehta",
"email": "arjun.mehta@school.edu",
"class": "9",
"section": "B",
"rollNumber": 17,
"__v": 0
},
{
"_id": "64f1a2b3c4d5e6f7a8b9c0d3",
"name": "Sneha Patel",
"email": "sneha.patel@school.edu",
"class": "10",
"section": "B",
"rollNumber": 5,
"__v": 0
}
]