Skip to content

feat(api): add v2 lookup endpoints - #3164

Merged
wklken merged 2 commits into
TencentBlueKing:masterfrom
wklken:feat/v2-lookup-apis
Aug 13, 2026
Merged

feat(api): add v2 lookup endpoints#3164
wklken merged 2 commits into
TencentBlueKing:masterfrom
wklken:feat/v2-lookup-apis

Conversation

@wklken

@wklken wklken commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add /api/v2/open/gateways/-/lookup/ with ids and names filters
  • add /api/v2/open/mcp-servers/permissions/apply-records/-/lookup/ with an ids filter
  • add /api/v2/sync/gateways/{gateway_name}/resource_versions/-/lookup/ with ids and versions filters
  • preserve the existing list APIs and register each lookup API with the same gateway resource configuration as its list API
  • add API docs and focused regression coverage

Verification

  • uv run make edition-ee && uv run make lint-check
    • ruff, mypy, import-linter passed
    • API consistency: 0 errors; 41 existing warnings
  • uv run make test
    • 3831 passed
  • git diff --cached --check
  • parsed gateway resource comparison: all three lookup configs match their corresponding list configs except backend path

@wklken
wklken merged commit d3c3fdd into TencentBlueKing:master Aug 13, 2026
4 checks passed
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.

1 participant