CLI
Begin first with the commands of CompatInfo in CLI mode.
See Chapter 11, CLI
JSON
How you can customize CompatInfo for all SAPI.
See Chapter 12, Configuration file
API
API are incompatible in versions 3 and 4. Here are code to do the same things.