PulseAugur
EN
LIVE 03:26:26

Grafana API details for uploading provisioning rule groups

The user is seeking information on how to manage rule groups within Grafana's provisioning API. Specifically, they are asking for the correct HTTP method and endpoint to upload or update rule groups, along with the necessary headers and JSON payload structure. The provided answer details a PUT request to `/api/v1/provisioning/folder/<folderuid>/rule-groups/<rule group>` with an `X-Disable-Provenance: true` header and a JSON file containing the rules. AI

RANK_REASON This is a technical query about using a specific software's API, not a significant industry event.

Read on Mastodon — fosstodon.org →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

COVERAGE [1]

  1. Mastodon — fosstodon.org TIER_1 English(EN) · [email protected] ·

    Just to have the answer on paper, the correct answer is: PUT /api/v1/provisioning/folder/<folderuid>/rule-groups/<rule group> with header "X-Disable-Provenance:

    Just to have the answer on paper, the correct answer is: PUT /api/v1/provisioning/folder/<folderuid>/rule-groups/<rule group> with header "X-Disable-Provenance: true" and the json file containing the rules you want to upload You can download the rules with GET /api/v1/provisionin…