Update MEMORY.md: 28/28 API endpoints with full CRUD coverage
- Added 7 new API endpoints (users admin + meta CRUD) - Coverage now 28/28 (100%) - All database tables have full CRUD via CLI
This commit is contained in:
parent
f994f69e6b
commit
6b0cdea064
23
MEMORY.md
23
MEMORY.md
@ -278,9 +278,18 @@ First question: "How will I (Max) interact with this programmatically without Ma
|
|||||||
| /api/auth/reset-password | POST | `auth reset-password` | ✅ |
|
| /api/auth/reset-password | POST | `auth reset-password` | ✅ |
|
||||||
| /api/auth/account | PATCH | `auth account` | ✅ |
|
| /api/auth/account | PATCH | `auth account` | ✅ |
|
||||||
| /api/auth/users | GET | `auth users` | ✅ |
|
| /api/auth/users | GET | `auth users` | ✅ |
|
||||||
|
| **Users Admin** ||||
|
||||||
|
| /api/users | GET | `user get` | ✅ |
|
||||||
|
| /api/users | PATCH | `user update` | ✅ |
|
||||||
|
| /api/users | DELETE | `user delete` | ✅ |
|
||||||
|
| **Meta** ||||
|
||||||
|
| /api/meta | GET | `meta list` | ✅ |
|
||||||
|
| /api/meta | GET | `meta get` | ✅ |
|
||||||
|
| /api/meta | POST | `meta set` | ✅ |
|
||||||
|
| /api/meta | DELETE | `meta delete` | ✅ |
|
||||||
| **Debug** ||||
|
| **Debug** ||||
|
||||||
| /api/debug | GET | `debug` | ✅ |
|
| /api/debug | GET | `debug` | ✅ |
|
||||||
| **Total** | | | **21/21 (100%)** |
|
| **Total** | | | **28/28 (100%)** |
|
||||||
|
|
||||||
### Reference Implementation (Gantt Board)
|
### Reference Implementation (Gantt Board)
|
||||||
|
|
||||||
@ -324,6 +333,18 @@ First question: "How will I (Max) interact with this programmatically without Ma
|
|||||||
./scripts/gantt.sh auth account <field> <value> # Update account
|
./scripts/gantt.sh auth account <field> <value> # Update account
|
||||||
./scripts/gantt.sh auth users # List users
|
./scripts/gantt.sh auth users # List users
|
||||||
|
|
||||||
|
# User Admin
|
||||||
|
./scripts/gantt.sh user list # List all users
|
||||||
|
./scripts/gantt.sh user get <user-id> # Get specific user
|
||||||
|
./scripts/gantt.sh user update <id> <field> <val> # Update user
|
||||||
|
./scripts/gantt.sh user delete <user-id> # Delete user
|
||||||
|
|
||||||
|
# Meta
|
||||||
|
./scripts/gantt.sh meta list # List all meta entries
|
||||||
|
./scripts/gantt.sh meta get <key> # Get meta value
|
||||||
|
./scripts/gantt.sh meta set <key> <value> # Set meta value
|
||||||
|
./scripts/gantt.sh meta delete <key> # Delete meta entry
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
./scripts/gantt.sh debug # Debug endpoint
|
./scripts/gantt.sh debug # Debug endpoint
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user