It is actually documented at:
https://github.com/xLightsSequencer/xLights/blob/master/documentation/xlDo%20Commands.txt
For the most part, if you are on any platform that has a real scripting language (particularly one that can handle JSON easily like php), then using the REST endpoint directly is likely easier than forking the xlDo thing every time.