-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
apiIssues/PRs dealing with REST endpoints.Issues/PRs dealing with REST endpoints.area:storiesIssues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)Issues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)backendWork related to APIs, services, or controllers.Work related to APIs, services, or controllers.javaPull requests that update java codePull requests that update java coderoadmapPlanned feature or strategic goal from the project roadmap.Planned feature or strategic goal from the project roadmap.type:featureNew feature related to backend types, DTOs, or models.New feature related to backend types, DTOs, or models.
Milestone
Description
Summary
Add REST endpoints: POST /api/stories, GET /api/stories?limit&before, GET /api/me/stories, DELETE /api/stories/{id}.
Motivation / Problem
Expose Stories MVP via thin controller mapping to service using AuthPrincipal.
Acceptance Criteria
- POST validates
CreateStoryRequestand returns201 CreatedwithStoryDto. - GET
/api/storiessupportslimitand ISO-8601before; returns newest-first. - GET
/api/me/storiesreturns only current user’s stories. - DELETE enforces ownership: 204 on owner; 403 otherwise; 404 if missing.
- All endpoints require authentication; no new permitAll rules.
Target Release
v0.1.2
Notes / Links
docs/weekly-plan/week-5/week-5-plan-backend.md
docs/weekly-plan/week-5/week-5-plan-issues.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apiIssues/PRs dealing with REST endpoints.Issues/PRs dealing with REST endpoints.area:storiesIssues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)Issues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)backendWork related to APIs, services, or controllers.Work related to APIs, services, or controllers.javaPull requests that update java codePull requests that update java coderoadmapPlanned feature or strategic goal from the project roadmap.Planned feature or strategic goal from the project roadmap.type:featureNew feature related to backend types, DTOs, or models.New feature related to backend types, DTOs, or models.