It can also contain more properties given by the parameters defined by the command (see Command definitions)
Example 1: Pharo image cleanup
Taking the definition given in Example 1: Pharo image cleanup, the payload the backend will receive should be like this:
{"comand":"imageCleanup"}
The Pharo implementation of the API, could be have some sort of command dispatcher in place based on the command property. For example:
and the particular handler for imageCleanUp:
Note: this is just an example, implemented in Pharo 12, and may be not a good implementation as #cleanUp: has undesired effects on native UI (some progress bar).