You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/07/11 07:53:32 UTC

[GitHub] [couchdb] janl commented on pull request #3425: report Erlang and JS version in welcome message

janl commented on pull request #3425:
URL: https://github.com/apache/couchdb/pull/3425#issuecomment-877757559


   Thank you all for the input. I’ve reworked this to show Erlang and SM versions under `/_node/_local/_versions` admin-only:
   
   ```
   > curl -s a:a@127.0.0.1:15984/_node/_local/_versions | jq
   {
     "erlang_version": "22.3.4.20",
     "javascript_engine": {
       "name": "spidermonkey",
       "version": "86"
     }
   }
   
   > curl -s 127.0.0.1:15984/_node/_local/_versions | jq    
   {
     "error": "unauthorized",
     "reason": "You are not a server admin."
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org