Management Features for Server Code
Install the command line tool to your development PC to manage server code.
You can take the following management actions with the command line tool:
Deploying a server code file and a server hook configuration file
Managing server code versions
You can manage the deployed server code and server hook configuration files (i.e. activating and deactivating the certain version). See Managing server code versions for more details.
Inspecting the developer log
You can browse the developer log to check messages recorded by your server code for debugging purpose. See Developer Log to learn how to record some debug messages from server code.
Note that the developer log is not just for the server extension. The log includes records of various executions by the client SDK. See Inspect Developer Log for more details.
Inspecting the history of execution results of server code called by schedule-based hooks
You can browse the history of execution results of server code called by schedule-based hooks. You can check the results of auto-executions and the values returned by the server code. See Checking Results of Schedule-based Hooks for more details.
You need the ClientID and ClientSecret when using the command line tool. These values are the access keys that should be kept secret so as to prevent malicious users from gaining accesses to your server code.
Kii Cloud allows you to manage a pair of server code and a server hook configuration file as a version. This feature makes it easy for you to quickly revert to a previous version of your server code if you find a defect in the current version. You can switch to a previous version with just one command.
An application on Kii Cloud accepts multiple versions for development and maintenance. You can activate one version at a time. An active version is executed when the server code is manually executed on a mobile app or automatically executed by a server hook. when a version is activated, the other versions are deactivated.
When you register a server code file and a server hook configuration file, Kii Cloud will return a version code like
gulsdf6ful8jvf8uq6fe7vjy6. You will use this version code when you activate and deactivate the version and when you delete the version.
|Transition||Now||Node.js 6.X (default) and Node.js 16.X|
|Operation||Soon||Node.js 16.X (default)|