updated API ref, added examples for camera