Any details on the canvas API?

For anyone wondering, you can inspect the Canvas methods by opening a canvas file in Obsidian and typing app.workspace.getLeavesOfType('canvas')[0].view.canvas in the dev console.