grafana-toolbox / grafana-client

Python client library for accessing the Grafana HTTP API.
MIT License
106 stars 30 forks source link

Missing parentUid for create_folder #160

Closed grafuls closed 7 months ago

grafuls commented 8 months ago

What Grafana API endpoint the library is missing? Not an endpoint as such but a parameter on the create_folder method to include parentUid for those using nested folders.

Additional Info https://grafana.com/docs/grafana/latest/developers/http_api/folder/#create-folder

amotl commented 8 months ago

Hi Gonzalo, thanks for reporting. Would you be able to submit a corresponding patch to improve the situation?

grafuls commented 8 months ago

sure can

amotl commented 8 months ago

There is a patch now, which has corresponding improvements.

amotl commented 8 months ago

Corresponding enhancements have been included in grafana-client 4.0.0. Please let us know if they improve the situation for you.

chintal commented 7 months ago

I've used 4.0+ for creating nesting folders. All the things I've tried seem to working. I think you can call this done. If a specific issue presents itself in the future, a separate issue can be reported.

amotl commented 7 months ago

Thank you again. Also closing this one.