stephenyeargin / hubot-grafana

📈🤖 Query Grafana dashboards
http://docs.grafana.org/tutorials/hubot_howto/
MIT License
154 stars 48 forks source link

[Grafana 5] Search by slug deprecated #68

Closed stephenyeargin closed 3 years ago

stephenyeargin commented 6 years ago

Extracting part of #66 into this ticket.

Search by slug is deprecated and will be removed, search by uid should be used instead

HTTP API

The following operations have been deprecated and will be removed in a future release:

  • GET /api/dashboards/db/:slug -> Use GET /api/dashboards/uid/:uid instead
    • DELETE /api/dashboards/db/:slug -> Use DELETE /api/dashboards/uid/:uid instead

The following properties have been deprecated and will be removed in a future release:

  • uri property in GET /api/search -> Use new url or uid property instead
  • meta.slug property in GET /api/dashboards/uid/:uid and GET /api/dashboards/db/:slug -> >Use new meta.url or dashboard.uid property instead

Reference: https://github.com/grafana/grafana/blob/master/CHANGELOG.md#http-api (Under 5.0.0-beta1)