update camera api

set device id field name to dev_id for consistence.