Skip to content

GET /adminEvent: List staff (Luma-linked) events #2

Description

@saumyapalk23

Motivation

Staff, or BFFC admin, are the only ones who both manage Luma-linked events and oversee steward-run events. This endpoint gives the admin a convenient way to see all the events across BFFC with ease.

Acceptance Criteria:

  • Each event includes the following:
    • Associated site (id, name)
    • Event name
    • Date/time
    • Description
    • Event type
    • Source type
    • Registration link (if applicable)
  • Supports filtering via query params (site_id, event_type, source_type)
  • Endpoint returns nothing if no event match filtering
  • Results are chronological

Tasks:

  • Implement route handler for GET /adminEvent
  • Add query param filtering
  • Add chronological sorting
  • Write tests: filterings, full events, permission access, etc. and include documentation

Story points: 3

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions