Skip to content

feat(routes-f): creator milestone and goal history archive endpoint #537

@davedumto

Description

@davedumto

Overview

Implement app/api/routes-f/creator/goals/history/route.ts for archival records of past milestones and goals.

Scope

  • GET /api/routes-f/creator/goals/history — list completed/expired goals for authenticated creator
  • Query params: ?type=sub_count|tip_amount|viewer_count&limit=20&cursor=

Acceptance Criteria

  • Each record includes title, type, target, achieved_value, completed_at, duration_days
  • Expired goals (never completed) included with status: expired
  • Cursor pagination, newest first
  • Route lives exclusively in app/api/routes-f/creator/goals/history/

Notes

Standalone — no dependency on other open issues.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programroutes-fStandalone API route in app/api/routes-f/

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions