Skip to content

Segment membership refresh API #7411

Closed as not planned
Closed as not planned

Description

@khvn26

Scope

  • POST /api/v1/environments/{id}/membership/refresh enqueues a full backfill task for the env, going through Segment membership backfill lifecycle #7407's enqueue guard.
  • Translates the enqueue-guard sentinel into a 429 response.
  • Same RBAC gate as the read API.

Acceptance criteria

  • 202 with last_backfill_started_at returned when the refresh enqueues.
  • 429 when the enqueue guard blocks (concurrent backfill running, or within the cooldown window of a previous completion).
  • 403 when the user lacks env identity view permission.

Activity

  1. added
    apiIssue related to the REST API
    edge-apiRelated to edge.api.flagsmith.com
    on May 4, 2026
  2. khvn26 commented on May 9, 2026

    @khvn26
    MemberAuthor

    Closing as not planned. Replaced by #7469 — V1 (Beta) epic for the columnar design. The bitmap design this issue was scoped against was retired at the 5/5/2026 RFC review in favour of the columnar approach now shipping in Alpha. See Segment Membership Inspection (columnar) (private to Flagsmith team) for the new RFC.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiIssue related to the REST APIedge-apiRelated to edge.api.flagsmith.com

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions