Skip to content

. Add POST /api/v1/admin/announcements endpoint #353

Description

@DeFiVC

What: Add an endpoint for admins to create platform-wide announcements that are displayed to all users.

Why: Admins need to communicate important updates (maintenance windows, new features, policy changes) to all users.

Scope: Create announcements table with title, message, priority (normal/high/urgent), active, created_at, expires_at. Add CRUD endpoints for admins. Add GET /api/v1/announcements for users to fetch active announcements.

Acceptance criteria:

  • Admins can create, update, delete announcements
  • Users can fetch active announcements
  • Announcements have priority levels
  • Announcements auto-expire

Technical context: src/database/schema.ts — schema definitions. src/modules/ — module patterns.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions