API Server: Group CRUD endpoints #4

Closed
opened 2026-03-05 18:44:29 -06:00 by jeremy · 0 comments
Owner

Implement group management CRUD endpoints with JSON file persistence.

Tasks

  • GET /api/groups - list all groups
  • POST /api/groups - create a new group
  • PUT /api/groups/{id} - update group name/description/members
  • DELETE /api/groups/{id} - delete a group
  • JSON file persistence at /data/groups.json
  • Group schema: { id, name, description, members: [{node, container_id}] }

Notes

  • Groups are user-defined collections of containers across any nodes
  • File-based persistence keeps it simple (no database needed)
  • In-memory cache with write-through to file
Implement group management CRUD endpoints with JSON file persistence. ## Tasks - [ ] `GET /api/groups` - list all groups - [ ] `POST /api/groups` - create a new group - [ ] `PUT /api/groups/{id}` - update group name/description/members - [ ] `DELETE /api/groups/{id}` - delete a group - [ ] JSON file persistence at /data/groups.json - [ ] Group schema: { id, name, description, members: [{node, container_id}] } ## Notes - Groups are user-defined collections of containers across any nodes - File-based persistence keeps it simple (no database needed) - In-memory cache with write-through to file
jeremy added this to the v1.0 milestone 2026-03-05 18:44:29 -06:00
jeremy added the feature label 2026-03-05 18:44:29 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jeremy/farm-manager#4