The following document is a work in progress and some parts are still missing. There is more documentation to read in the form of source code comments if something is missing here.
Also, please note that the API has not stabilized yet and may change at any time.