DOCS: Grand Master Book v1.0 (Gemini V01) hozzáadása
This commit is contained in:
17
docs/V01_gemini/07_API_Guide.md
Normal file
17
docs/V01_gemini/07_API_Guide.md
Normal file
@@ -0,0 +1,17 @@
|
||||
(API specifikáció.)
|
||||
# 🔌 API GUIDE
|
||||
|
||||
## Verziózás
|
||||
- **v1:** Core Fleet funkciók (`/api/v1/vehicles`, `/api/v1/expenses`).
|
||||
- **v2:** Auth és új modulok (`/api/v2/auth/login`).
|
||||
|
||||
## Route Inventory (Kiemelt)
|
||||
- `POST /api/v2/auth/register` (Regisztráció Person létrehozással)
|
||||
- `GET /api/v1/fleet/vehicles` (Saját járművek listája)
|
||||
- `POST /api/v1/search/match` (Szervizkereső algoritmus)
|
||||
- `POST /api/v1/evidence/upload` (MinIO feltöltés)
|
||||
|
||||
## Hiba Kezelés
|
||||
- **401:** Token lejárt -> Frontend dobjon Loginra.
|
||||
- **403:** Jogosultság hiba -> "Nincs jogod ehhez a funkcióhoz" (Tier limit).
|
||||
- **404:** Resource not found OR Soft Deleted.
|
||||
Reference in New Issue
Block a user