Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard Search API endpoint is incorrect #174

Closed
chintal opened this issue Apr 13, 2024 · 2 comments · Fixed by #172
Closed

Dashboard Search API endpoint is incorrect #174

chintal opened this issue Apr 13, 2024 · 2 comments · Fixed by #172

Comments

@chintal
Copy link
Collaborator

chintal commented Apr 13, 2024

The search.search_dashboards endpoint has incomplete / incorrect parameters.

See https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/

The following parameters are missing:

  • dashboardUids
  • folderUids

The following parameters are included but aren't supported by the current API:

  • folderIds

Versions

  • Grafana: v10.4.1 (d3ce857c0e)
  • grafana-client: git main head (4.0.1)
  • Authentication: Token
@chintal chintal changed the title Dashboard Search API enpoint is incorrect Dashboard Search API endpoint is incorrect Apr 13, 2024
@amotl
Copy link
Contributor

amotl commented Apr 13, 2024

Dear Chintalagiri,

thank you so much for discovering that flaw. It clearly demonstrates once again that grafana-client needs an integration test suite.

With kind regards,
Andreas.

chintal added a commit to chintal/grafana-client that referenced this issue Apr 14, 2024
…tally add util to accept and format list-type params.
@amotl
Copy link
Contributor

amotl commented Apr 14, 2024

Hi again. Thank you very much for fixing this with d341a2b on behalf of GH-172.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants