app.version
Gives Lightair's name, its version and the name of the open workspace.
JSON-RPC 2.0project.read
Parameters
None.
Result
- namestringAlways "Lightair".
- versionstringThe app's version.
- workspacestringThe open workspace's name.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "app.version", "params": {}}lightair call app.versionconst result = lightair.call("app.version", {});Result
{ "name": "Lightair", "version": "0.9.0", "workspace": "My show" }