Skip to content

feat(grafana): add modern resource API services - #538

Open
henningpokriefke wants to merge 3 commits into
alchemy-run:feat/grafana-sdkfrom
henningpokriefke:codex/grafana-api-minimal
Open

feat(grafana): add modern resource API services#538
henningpokriefke wants to merge 3 commits into
alchemy-run:feat/grafana-sdkfrom
henningpokriefke:codex/grafana-api-minimal

Conversation

@henningpokriefke

Copy link
Copy Markdown

Summary

Extends #494 with Grafana’s modern, versioned Resource APIs for self-hosted Grafana OSS.

Generated service modules:

  • Dashboard (dashboard.grafana.app/v2)
  • Folder (folder.grafana.app/v1)
  • Playlist (playlist.grafana.app/v1)
  • Alerting Rules (rules.alerting.grafana.app/v0alpha1)
  • Alerting Notifications (notifications.alerting.grafana.app/v1beta1)

These add 109 generated operations across five modern API groups.

Scope

  • Builds on feat/grafana-sdk, the branch for feat(grafana): add the Grafana SDK #494.
  • Uses Grafana’s new /apis/<group>/<version>/namespaces/<namespace>/... API structure.
  • Does not add deprecated legacy /api Dashboard, Folder, Playlist, or Alerting Provisioning routes.
  • Excludes Grafana Cloud-only APIs.
  • Resource History is intentionally not a separate service. It is available through the standard List and Get operations of stable resource APIs.

Spec source

All five modern API groups are fetched from static OpenAPI files in Grafana’s repository:

packages/grafana-openapi/src/apis

This keeps regeneration reproducible and follows the existing spec-mirror pattern from #494.

@henningpokriefke henningpokriefke changed the title Codex/grafana api minimal feat(grafana): add modern resource API services Aug 31, 2026
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