Lua Script
Users create software packages locally and upload them to the TW.RSM.Thing.FileRepository folder in the ThingWorx repository. Each package consists of a ZIP file containing a Lua instruction script file (luaScriptResource), and any other files necessary to complete the functionality of that package. The Lua script extension includes the instructions that must be executed on the MicroServer after the MicroServer receives the package (that is, when the ThingWorx Software Content Management utility downloads the package to that asset).
Refer to the ThingWorx Lua script API for all operations that are possible on the ThingWorx WebSocket-based Edge MicroServer (WS EMS).