-
What Grafana version and what operating system are you using?
Grafana v10.0.1 (5a30620b85) -
What are you trying to achieve?
Create a nested subfolder using the http API.
I can’t find any documentation on how to do it and the feature doesn’t seem to exist in grafana-api-golang-client/folder.go at master · grafana/grafana-api-golang-client · GitHub -
How are you trying to achieve it?
curl or preferably using the golang SDK -
What happened?
N/A -
What did you expect to happen?
Documentation how to use the nestedFolder API -
Can you copy/paste the configuration(s) that you are having problems with?
There is no documented way on how to create a nested folder. -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
N/A -
Did you follow any online instructions? If so, what is the URL?
Folder HTTP API | Grafana documentation
It seems like the http API schema has been updated.
Watching my http traffic when using the API it seems like you now can do:
{title: "lalal2", parentUid: "ad21a11d-5c5b-440e-98d9-969342cd8e9e"}
Now the question is it worth to send in a PR to the go sdk , or will it be fixed by Use `swagger` to generate Go client for Folder service by nikimanoledaki · Pull Request #155 · grafana/grafana-api-golang-client · GitHub?