Currently wallabag Android app detects if a given URL is really a wallabag site by parsing the URL's source code and searching for some strings. This is an ugly solution. Errors occur like: https://github.com/wallabag/android-app/issues/744
It would be awesome if we can have an API endpoint which only tells what kind of application this is. E.g.
/api/applicationname returns only "wallabag"
I have thought about /api/version, but that does might be duplicate with other applications on the planet.
git clone or by downloading the package? gitWhy not create a better version endpoint?
As of now we have api/version returning a plain version string. Which is a really bad idea because we can't add new stuff to that enpoint. Anyway.
Can't we introduce a /api/info (or an other name) returning something like:
{
"appname": "wallabag",
"version": "2.4.0-dev",
"allowed_registration": false
}
Most helpful comment
Why not create a better version endpoint?
As of now we have
api/versionreturning a plain version string. Which is a really bad idea because we can't add new stuff to that enpoint. Anyway.Can't we introduce a
/api/info(or an other name) returning something like: