Skip to content

Add Feature Flag Management API endpoints#2522

Open
joshua-koehler wants to merge 9 commits intomainfrom
feature-flag-management-api
Open

Add Feature Flag Management API endpoints#2522
joshua-koehler wants to merge 9 commits intomainfrom
feature-flag-management-api

Conversation

@joshua-koehler
Copy link
Copy Markdown
Contributor

Summary

  • Merges the feature flag management CRUD API into the existing feature-flags.openapi.yaml
  • Upgrades spec from OpenAPI 3.0.2 to 3.1.0
  • Adds 15 project-scoped management endpoints under the "Flag Management" tag (list, create, get, update, delete, archive, unarchive, duplicate, history, limits, views, record-view, test-users, cohort-sync-time, users)
  • Creates ReadMe reference markdown pages for all new endpoints

Test plan

  • Verify staging preview deploys correctly via the rdme-staging CI workflow
  • Check new endpoints appear under "Flag Management" tag at the staging ReadMe URL
  • Confirm existing evaluation endpoints (/flags, /flags/definitions) are unaffected

🤖 Generated with Claude Code

@joshua-koehler joshua-koehler requested a review from a team as a code owner March 31, 2026 12:57
@joshua-koehler joshua-koehler requested review from kathmath and removed request for a team March 31, 2026 12:57
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Mar 31, 2026 10:23pm

Request Review

joshua-koehler and others added 2 commits March 31, 2026 08:02
Merges the feature flag management CRUD API into the existing feature-flags
spec. Upgrades to OpenAPI 3.1.0, adds 15 project-scoped management endpoints
under the "Flag Management" tag, and creates ReadMe reference pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

API Reference Preview

🚀 https://developer.mixpanel.com/v3.27-pr-2522/reference/overview
Last updated: 3/31/2026, 3:25:10 PM PT from b52e421

Let ReadMe auto-generate API reference pages from the OpenAPI spec
instead of creating empty manual pages that don't show the API spec.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Re-create flag-management reference pages with api.method and api.path
frontmatter so ReadMe can link them to their OpenAPI operations and
render the API spec instead of showing blank pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The OpenAPI spec auto-generates these pages on ReadMe with -1 slug
suffixes. Our manual pages were shadowing them with blank content
because they lack the spec linkage ReadMe creates automatically.
Removing the manual pages so the auto-generated ones are canonical.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Captures the lessons learned from integrating the Feature Flags
Management API spec, so future contributors have a repeatable
process for onboarding new raw specs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants