This endpoint fetches every record from the FirestoreDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Manuelfg1985/Proyecto_Final_26/llms.txt
Use this file to discover all available pages before exploring further.
postulantes collection and returns them as a JSON array. Each object in the array includes the Firestore-generated document id alongside all applicant fields. This route is public — no authentication token is required to call it.
This endpoint is defined directly in
index.js and uses the Firebase SDK’s getDocs(collection(db, 'postulantes')) call. Each document’s id is merged with its field data before the response is sent.Endpoint
| Method | GET |
| Path | /api/postulantes |
| Auth | None |
Response
200 OK
Returns an array of applicant objects. Each object contains the Firestore document ID plus all stored fields.Auto-generated Firestore document ID. Unique identifier for the applicant record.
First name of the applicant.
Last name (surname) of the applicant.
Email address of the applicant.
Date of birth of the applicant, stored as a string (e.g.
"1990-05-15").Contact telephone number of the applicant.
City of residence of the applicant.
Province of residence of the applicant.
Job position the applicant has applied for.
Timestamp of when the application was submitted. Defaults to the date/time the record was created.
Current status of the application. Defaults to
"pending".Error responses
| Status | Body |
|---|---|
500 Internal Server Error | { "mensaje": "❌ Error de conexión", "error": "<message>" } |
500 error is returned when the Firestore query fails — for example, due to a misconfigured database connection or a network issue.