API documentation

Reference for the SGL developer API.