Skip to content

Add group filter to /api/eud, /api/point, /api/markers for multi-event isolation #290

@jakobbuis

Description

@jakobbuis

Problem

A single OTS instance often serves multiple disjoint events (e.g., separate festivals or training exercises) using groups/channels for isolation on the CoT socket. The REST list endpoints, however, return data across all groups. Clients have to filter client-side using ad-hoc heuristics like recency windows, which is brittle and leaks data across event boundaries.

Proposal

Add a group query parameter (matching the group's name) to:

  • /api/eud?group=jazz-festival-delft-2026
  • /api/point?group=…
  • /api/markers?group=…

Return only entities whose creator (or, for points and CoTs, sender) is a member of the specified group. Honor the same group-membership rules already enforced for CoT socket routing.

Why

Brings REST API isolation in line with socket-level isolation. Without this, building per-event clients on top of OTS requires either a dedicated server per event or unreliable client-side filtering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions