- What Grafana version and what operating system are you using?
2024-03-10 19:10:05 INF Version=10.0.0
2024-03-10 19:10:05 INF Commit=81d85ce802
- What are you trying to achieve?
Let’s say I want to list all the properties of all orgs in my grafana instance, as far as I can tell the only way to do this is to invoke the following calls for each organization in question.
curl -X GET ‘http://localhost:3000/api/user/using/55’
to switch the user context to the given Org.
curl -X GET http://localhost:3000/api/org
to return the orgs properties. This seems really overly complicated as opposed to say as a grafana admin being able to just called.
curl -X GET ‘http://localhost:3000/api/org/55/properties’
Is there some undocumented endpoint I’m not aware of is this the pattern?
For every change I need to do, or say to do a listing, I essentially have to:
- Change Org,
- Read/Write Properties
- Restore Org
- How are you trying to achieve it?
Have a cli tool to exposed the Orgs and their properties allowing the user to update the properties easily from the CLI.
- What happened?
The exposed API seems overly complex to use.
- What did you expect to happen?
A simpler endpoint to invoke to read/write properties for a given Org when logged in as a grafana admin.
- Can you copy/paste the configuration(s) that you are having problems with?
NA
- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
Nope
- Did you follow any online instructions? If so, what is the URL?
NA