TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/nelrondon/backend-proyecto-estructuras/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/properties endpoint retrieves every property listing stored in the properties table. It requires no authentication and accepts no query parameters or request body. Use this endpoint to populate listing pages, dashboards, or any view that needs the full catalogue of available properties. If no properties exist in the database, the model throws an error and the server responds with a 500 status.
Endpoint
Authentication
None required. This is a public endpoint.Request
No path parameters, query parameters, or request body are accepted.Response
On success, the endpoint returns a JSON array where each element is a full property object from theproperties table.
Response Fields
Unique UUID identifier for the property, generated server-side at creation time.
Short descriptive title of the property listing.
Longer free-text description of the property.
Listing availability status. One of
Venta (for sale), Alquiler (for rent), or Ambas (both).Category of the property. One of
Casa, Apartamento, Terreno, or Comercial.Street address of the property.
City where the property is located.
State or region where the property is located.
Listed price of the property as a numeric value.
Number of bedrooms in the property.
Number of bathrooms in the property.
Total area of the property in square feet.
Number of parking spaces available with the property.
URL pointing to the primary image of the property. May be
null if no image was provided.UUID of the user who created the listing. Set server-side from the authenticated user’s JWT at creation time.
Error Responses
| Status | Body | Description |
|---|---|---|
500 | { "error": "No hay propiedades" } | No property records exist in the database. |