Query app status without token
-
@Lanhild What is the use case here? Can't you just query
https://app.domain.com? Both the health and runState are dashboard specific and tracking internal states. You can create readonly tokens btw for healthcheck bots - https://docs.cloudron.io/profile/#api-tokens -
For Uptime Kuma usage. Does
healthcome from the healthcheck attribute in the app's manifest?If so then a readonly token is sufficient.
@Lanhild yes, the
healthvalue is obtained from the healthcheck. We have a "health checker" which polls apps every 10 seconds . If the app responds to the healtcheck attribute, it gets the state 'healthy'. If it didn't respond, it waits for around 20 mins to mark it as 'unhealthy'.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login