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.
PUT /api/properties route is defined in the property router and protected by the authRequired authentication middleware, which requires a valid token cookie. The route is intended to support updating an existing property listing. However, the controller method backing this route — PropertyController.modify — has not yet been implemented.
Endpoint
Authentication
Required. TheauthRequired middleware is applied to this route and will reject requests that do not carry a valid token cookie.
| Condition | Status | Body |
|---|---|---|
No token cookie present | 401 | { "message": "No Token, Unauthorized" } |
token cookie present but invalid or expired | 403 | { "message": "Invalid Token" } |
Implementation Status
The route is registered inproperty.routes.js and the controller stub exists in property.controller.js, but the method body is empty:
property.routes.js
property.controller.js
Planned Behavior
When implemented, this endpoint is expected to accept a property identifier and a set of fields to update, validate the input against the property schema, and persist the changes to theproperties table for the authenticated user’s listing.