[Backend] Bot CRUD - Bot Management with Max 3 Limit #5

Closed
opened 2026-04-06 00:29:05 +02:00 by shoko · 0 comments
Owner

Overview

Implement bot CRUD operations with the 3-bot limit per user constraint.

Dependencies

  • Requires Auth System (issue #4) to be completed first

Tasks

  • Create bot router with CRUD endpoints
  • Implement 3-bot limit per user enforcement
  • Create bot listing endpoint (GET /api/bots)
  • Create bot creation endpoint (POST /api/bots)
  • Create bot get/update/delete endpoints
  • Add bot ownership validation
  • Create bot chat history endpoints

API Endpoints

  • GET /api/bots - List user bots (max 3)
  • POST /api/bots - Create new bot
  • GET /api/bots/{id} - Get bot details
  • PUT /api/bots/{id} - Update bot
  • DELETE /api/bots/{id} - Delete bot
  • GET /api/bots/{id}/history - Get chat history

Constraints

  • Maximum 3 bots per user
  • Users can only access their own bots
  • Bot name must be unique per user
## Overview Implement bot CRUD operations with the 3-bot limit per user constraint. ## Dependencies - Requires **Auth System** (issue #4) to be completed first ## Tasks - [ ] Create bot router with CRUD endpoints - [ ] Implement 3-bot limit per user enforcement - [ ] Create bot listing endpoint (GET /api/bots) - [ ] Create bot creation endpoint (POST /api/bots) - [ ] Create bot get/update/delete endpoints - [ ] Add bot ownership validation - [ ] Create bot chat history endpoints ## API Endpoints - GET /api/bots - List user bots (max 3) - POST /api/bots - Create new bot - GET /api/bots/{id} - Get bot details - PUT /api/bots/{id} - Update bot - DELETE /api/bots/{id} - Delete bot - GET /api/bots/{id}/history - Get chat history ## Constraints - Maximum 3 bots per user - Users can only access their own bots - Bot name must be unique per user
shoko added this to the Phase 1 - Core MVP milestone 2026-04-06 00:29:05 +02:00
shoko added the backendenhancement labels 2026-04-06 00:29:05 +02:00
shoko closed this issue 2026-04-08 08:16:19 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/randebu#5