-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: API endpoint for service count and updates available #436
Comments
Hi, {
"service_count": 5,
"updates_available": 3,
"updates_skipped": 1
} Would that work for you? (Haven't got round to adding Auth yet so will just be a simple GET request until I get to that) |
So what i was thinking was something like what i did with when i did the Enhanced version of gotify:
and having only one endpoint to get those information make everything easier, only one request and that`s it. If that picks your interest, the link for the branch is https://github.com/PedroBuffon/Heimdall-Apps/tree/EnhancedArgus |
- service_count - updates_available - updates_skipped fixes #436
- service_count - updates_available - updates_skipped fixes #436
- service_count - updates_available - updates_skipped fixes #436
I've just added this with 8364209 and will do a release shortly. {
"service_count": 5,
"updates_available": 3,
"updates_skipped": 1
} Skipped updates still show as available. So if you had 1 update available but unskipped, it would give "updates_available": 1,
"updates_skipped": 0 and if you then skip that update, it would update to "updates_available": 1,
"updates_skipped": 1 |
Looks very nice, thanks for adding this @PedroBuffon :) |
I'll update the Heimdall app code when I get home. |
Feature request to add an API point for Updates count available and APP count. I`m currently doing a Heimdall Dashboard APP for Argus and as there is no api endpoint for Update counter and APP counter i would need to convert the /metrics to json and program from there.
The text was updated successfully, but these errors were encountered: