You can find a list of macros commands in the
WebAPI documentation. They are the same commands for both, although the format is slightly different you can find both shown there. Note that these are all of the internal commands used in the system to make it work which means that some may be specific to a particular purpose and may not be usable from a macro.