grafana / grafonnet

Jsonnet library for generating Grafana dashboards.
https://grafana.github.io/grafonnet/
Apache License 2.0
322 stars 19 forks source link

Add Folder resource #120

Closed the-it closed 9 months ago

the-it commented 10 months ago

If you look up the api documentation at here, you're not finding the folder resources.

I would expect it to show up at the overview.

Duologic commented 10 months ago

The folder resource is not yet supported by Grafonnet.

API documentation exists, should be trivial to add this:

Related, we might also want to manage folder permissions:

Duologic commented 9 months ago

Looks like this resources is in the schemas for v10.1.0.

the-it commented 9 months ago

:partying_face: will it include nested folders as well?

Duologic commented 9 months ago

For nested: looks like there is an attribute 'parentUid' that isn't in the schema yet: https://grafana.com/docs/grafana/latest/developers/http_api/folder/