Code package API
Manage server-side code using the Code Package API
This section lists the JSON actions that manage code package development. Use these actions to create code packages for a FairCom server. These actions work for all FairCom products that include the FairCom database engine.
FairCom products allow you to run JavaScript code on the server. The code package API allows you to manage server-side code including storing, modifying, versioning, activating, deactivation, reverting, deleting, undeleting, copying, listing, and describing server-side code.
This API documentation includes concepts, tutorials, and examples of server-side code. Use the following JSON actions to create and manage code packages for a FairCom server. These actions work for all FairCom products that include the FairCom database engine.
Action | Description |
---|---|
stores server-side code on the server. | |
modifies, deactivates, activates, deletes. and undeletes a code package. | |
stores a copy of a code package. | |
lists the latest versions of a code package. | |
lists previous versions of a code package. | |
shows the code in a code package and lists where it runs. | |
returns code package version and properties. | |
reverts a code package to a specified version. |