-
Notifications
You must be signed in to change notification settings - Fork 134
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
Private groups/services are not listed via API #69
Comments
Thanks, hopefully we (or someone) will fix this. We're only a small team of non-go developers, we forked it to basically get fixes pushed into a single place for everyone's benefit. |
I just experienced the same issue with services. In the frontend, when logged in as a user, I could see all private services. But the API returned no entries. Added the cookie to the API request and then all private services showed up. |
Having the same issue I've temporarely set services to public 😕. |
Hopefully this PR will resolve this. #210 |
Just switched from statping to statping-ng since development seems to be stalled in the original repository.
Copy/Pasting the issue of @thatInfrastructureGuy from statping#892 since the behavior hasn't changed in statping-ng.
Describe the bug
When retrieving list of groups/services via authenticated API endpoint, I can only see public groups/services. Private groups/services don't show up.
However, I can view the private service/group, if I know the
id
:Probably Related: statping#836
To Reproduce
Steps to reproduce the behavior:
list groups
endpoint with correct API Key. You should see only public group.view group
endpoint with correct API Key. You should see private group details.Expected behavior
If I am authenticated via API Key, I expect to see all services and groups (public and private) when I
LIST
them.The text was updated successfully, but these errors were encountered: