-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bookstack Version via API #3343
Comments
Hi @chrisnails, curl -sL https://demo.bookstackapp.com/ | grep -oPm 1 "(?<=version=)v[0-9.]+" If you need more than that, we do have a status endpoint we could maybe add the version to. I do wonder though if our usage of the version in such a status endpoint (and the existing cache breaker usage) would be a security concern for some (for those that want more obscurity). Maybe we could add a new api-side |
hi @ssddanbrown, |
Cool, since the cache breaker angle works for you I'll close this off but I'll keep it in mind for the future similar requests. |
I'm voting for a new api endpoint like /system! |
API Endpoint or Feature
It would be helpful if i could get the current Version of the Bookstack Instance via the API
Use-Case
I'd like to add a Check in my Monitoring System to get notified if my Bookstack Instance is not on the latest Version.
Additional context
i can check the latest bookstack release like this
curl -sL https://api.github.com/repos/BookStackApp/BookStack/releases/latest | jq -r ".tag_name"
i just need somethign similar for Bookstack itself, compare Versions and Notify
The text was updated successfully, but these errors were encountered: