requarks / wiki

Wiki.js | A modern and powerful wiki app built on Node.js
https://js.wiki
GNU Affero General Public License v3.0
24.36k stars 2.69k forks source link

Is there an easy way to curl for version info of the wiki instance? #653

Closed drduker closed 5 years ago

drduker commented 5 years ago

Actual behavior

curl https://wiki.example.com/api/info or something like this: 404

Expected behavior

run command and get version info.

Steps to reproduce the behavior

This shouldn't be a feature just a lack of API documentation perhaps?

NGPixel commented 5 years ago

No, that's not possible in v1. You'll be able to query the version via the GraphQL API in v2, provided you have a valid API token.