grafana-client icon indicating copy to clipboard operation
grafana-client copied to clipboard

Missing parentUid for create_folder

Open grafuls opened this issue 11 months ago • 4 comments

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

grafuls avatar Mar 22 '24 17:03 grafuls

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

amotl avatar Mar 26 '24 08:03 amotl

sure can

grafuls avatar Mar 26 '24 08:03 grafuls

There is a patch now, which has corresponding improvements.

  • GH-164

amotl avatar Mar 29 '24 10:03 amotl

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

amotl avatar Mar 29 '24 16:03 amotl

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.

chintal avatar Apr 22 '24 22:04 chintal

Thank you again. Also closing this one.

amotl avatar Apr 22 '24 23:04 amotl