docs: improve API endpoints table formatting in CLAUDE.md

This commit is contained in:
siujamo
2026-05-15 11:35:26 +08:00
parent 130d360556
commit 6d869d5145
+11 -11
View File
@@ -78,17 +78,17 @@ com.onixbyte.deltaforceguide
### API endpoints ### API endpoints
| Path | Methods | Auth | | Path | Methods | Auth |
|---|---|---| |-------------------------------|------------------|--------------------------------------|
| `/firearms` | GET, POST | GET public, POST requires auth | | `/firearms` | GET, POST | GET public, POST requires auth |
| `/firearms/{id}` | GET, PUT, DELETE | GET public, PUT/DELETE requires auth | | `/firearms/{id}` | GET, PUT, DELETE | GET public, PUT/DELETE requires auth |
| `/modifications` | GET, POST | GET public, POST requires auth | | `/modifications` | GET, POST | GET public, POST requires auth |
| `/modifications/{id}` | GET, PUT, DELETE | GET public, PUT/DELETE requires auth | | `/modifications/{id}` | GET, PUT, DELETE | GET public, PUT/DELETE requires auth |
| `/modifications/batch` | POST | Requires auth | | `/modifications/batch` | POST | Requires auth |
| `/modifications/batch-delete` | DELETE | Requires auth | | `/modifications/batch-delete` | DELETE | Requires auth |
| `/tags` | GET | Public | | `/tags` | GET | Public |
| `/auth/login` | POST | Public | | `/auth/login` | POST | Public |
| `/auth/logout` | POST | Authenticated | | `/auth/logout` | POST | Authenticated |
### Commit convention ### Commit convention