Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Add a method to get current user details #159

Closed
wants to merge 2 commits into from
Closed

Conversation

wuzuf
Copy link

@wuzuf wuzuf commented Aug 11, 2023

Hi,
I noticed there is no method to get current user from the Grafana API (accessible via /api/user)
I think it is pretty straightforward.
I had some strange golangci-lint errors when running make test, on files I did not change. I assumed it was because of different versions of golangci-lint Let me know if I need to look into it anyway.
wuzuf

@julienduchesne
Copy link
Member

👋 I am closing this PR because this repository is now deprecated and will be archived. It will still be accessible in read-only mode.

We are now generating the Grafana client from its OpenAPI spec. Check out https://github.com/grafana/grafana-openapi-client-go for the new client. Consider opening an issue or a PR there if functionality is missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants