AppInfo [@since 4.5.3]

The appInfo object contains information about the executing RESTApp. Use require('appInfo') to retrieve the object.

const appInfo = require('appInfo');
// =>
{
   "appVersion": "1.0.0",
   "maxUploadSizeInMB": 64,
   "appHelpURL": "https://developer.sitevision.se/",
   "addon": {
      "displayName": "test",
      "jcr:uuid": "188.54689742166fccd0c535",
      "jcr:primaryType": "sv:headlessCustomModule"
   },
   "appName": "RESTApp information",
   "appDescription": "A simple RESTApp",
   "certificate": {
      "signee": "SiteVision",
      "signed": true
   },
   "active": true,
   "runtime": {
      "sitevisionVersion": "4.5.3",
      "scriptEngineLanguageVersion": 200,
      "scriptEngineName": "Mozilla Rhino",
      "serverName": "SiteVision Server",
      "scriptEngineVersion": "Rhino 1.7.10 2018 04 09"
   },
   "jcr:uuid": "361.3af39f1675e3ddd2d1a",
   "appIdentifier": "myRestApp",
   "appAuthor": "SiteVision AB",
   "appType": "RESTApp",
   "appImportDate": 1543476548491,
   "jcr:primaryType": "sv:restApp"
}