RESTApp manifest

A RESTApps's manifest is a json file (manifest.json) stored in the root directory. The manifest contains metadata about the RESTApp.

The unique identifier of a RESTApp is made up of id and version. If a RESTApp is uploaded and there is an existing RESTApp with the same id and version, it will be overwritten given that force deploy is used.

The type is mandatory and distinguishes a RESTApp from a WebApp. The name, description, author and helpUrl are used for UI purposes when importing and administering deployed RESTApps in the Sitevision editor.

// manifest.json
{
   "id": "myRESTApp",
   "version": "0.0.1",
   "type": "RESTApp",
   "name": "My RESTApp",
   "author": "Sitevision AB",
   "description": "A simple RESTApp",
   "helpUrl": "https://help.sitevision.se",
   "maxUploadSizeInMB": 16, // Max app upload size (default is 64)
   "storage": { // Declares [data store](/docs/data-storage) usage
      "collectionDataStore": "myCollectionStore",
      "keyValueDataStore": "myStore" // multiple stores ["x", "y"]
   }
}