camera REST api example