Rename API contracts to web routes for clarity

Changed terminology from "API" to "Routes" to better reflect server-rendered HTML approach:
- Renamed submission_api.md → submission_routes.md
- Renamed dashboard_api.md → dashboard_routes.md
- Renamed admin_api.md → admin_routes.md
- Updated headers to clarify "Response Type: Server-rendered HTML (no JavaScript required)"
- Updated references in plan.md and quickstart.md

This clarifies that the application uses traditional web routes with form submissions
and HTML responses, not REST API endpoints with JSON.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-16 13:47:40 +02:00
co-authored by Claude
parent 05e201f1fc
commit c4ae7a0fa6
5 changed files with 11 additions and 8 deletions
@@ -1,7 +1,8 @@
# Admin API Contract
# Admin Routes Contract
**Scope**: Product and user management endpoints (User Story P4)
**Scope**: Product and user management web routes (User Story P4)
**Authentication**: Required (admin role only)
**Response Type**: Server-rendered HTML (no JavaScript required)
---
@@ -1,7 +1,8 @@
# Dashboard API Contract
# Dashboard Routes Contract
**Scope**: Product owner dashboard endpoints (User Story P3)
**Scope**: Product owner dashboard web routes (User Story P3)
**Authentication**: Required (session-based via Flask-Login)
**Response Type**: Server-rendered HTML (no JavaScript required)
---
@@ -1,7 +1,8 @@
# Submission API Contract
# Submission Routes Contract
**Scope**: Anonymous feedback submission endpoints (User Story P1)
**Scope**: Anonymous feedback submission web routes (User Story P1)
**Authentication**: None (anonymous access)
**Response Type**: Server-rendered HTML (no JavaScript required)
---
+1 -1
View File
@@ -177,7 +177,7 @@ Data model and API contracts support independent implementation of P1→P2→P3
Generated artifacts:
- ✅ research.md (7 decision records)
- ✅ data-model.md (6 entities fully specified)
- ✅ contracts/ (3 API contract documents: submission, dashboard, admin)
- ✅ contracts/ (3 web route contracts: submission, dashboard, admin)
- ✅ quickstart.md (developer onboarding guide)
- ✅ CLAUDE.md (agent context updated)
+1 -1
View File
@@ -270,7 +270,7 @@ pytest --cov=app --cov-report=html
---
## API Endpoints Reference
## Web Routes Reference
### Anonymous Submission
- `GET /submit/{product_slug}` - Submission form