New search function et drag and drop clean
This commit is contained in:
25
notes/projets/backend/api-design.md
Normal file
25
notes/projets/backend/api-design.md
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
title: "API Design"
|
||||
date: "10-11-2025"
|
||||
last_modified: "10-11-2025:19:21"
|
||||
tags: ["projet", "backend", "api"]
|
||||
---
|
||||
|
||||
# API Design
|
||||
|
||||
## Architecture REST
|
||||
|
||||
Notre API suit les principes REST avec les endpoints suivants:
|
||||
|
||||
- `GET /api/v1/notes` - Liste toutes les notes
|
||||
- `GET /api/v1/notes/{path}` - Récupère une note
|
||||
- `PUT /api/v1/notes/{path}` - Crée/met à jour une note
|
||||
- `DELETE /api/v1/notes/{path}` - Supprime une note
|
||||
|
||||
## Authentification
|
||||
|
||||
Pour l'instant, pas d'authentification. À implémenter avec JWT.
|
||||
|
||||
## Rate Limiting
|
||||
|
||||
À considérer pour la production.
|
||||
Reference in New Issue
Block a user