feat: add full project - backend, frontend, docker, specs and configs
This commit is contained in:
parent
b77c7d5a01
commit
e6cb06255b
24489 changed files with 61341 additions and 36 deletions
28
.specify/features/007-admin-panel/contracts/favoritos.md
Normal file
28
.specify/features/007-admin-panel/contracts/favoritos.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Contract: Admin Favoritos Endpoints
|
||||
|
||||
**Prefix:** `/api/v1/admin/favoritos`
|
||||
**Auth:** JWT Bearer (admin)
|
||||
|
||||
---
|
||||
|
||||
## GET /api/v1/admin/favoritos
|
||||
Lista todos os favoritos de todos os clientes.
|
||||
|
||||
### Response 200
|
||||
```json
|
||||
[
|
||||
{
|
||||
"id": "uuid",
|
||||
"user_id": "uuid",
|
||||
"property_id": "uuid",
|
||||
"created_at": "2026-04-01T12:00:00"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## DELETE /api/v1/admin/favoritos/:id
|
||||
Remove um favorito.
|
||||
|
||||
### Response 204
|
||||
Loading…
Add table
Add a link
Reference in a new issue