How to rename camera name?
AnsweredHow can I set name of camera (rename camera name)?
I have used /api/setCameraParam but it return error:
I don't know how to do this?
-
Hello Tho,
If you refer to this particular API method documentation, you'll see the following:
These parameters are used on the Advanced tab in camera settings. For instance: brightness, contrast, etc.
The methods you might use for your purpose are:
ec2/saveCameraUserAttributes - takes JSON for a single camera as an input
ec2/saveCameraUserAttributesList - takes array of JSONs for several camera resources modification at once
1 -
Dear Sergey Yuldashev,
Thank you for your comment. Let me try again. Thank you very much.
0 -
Dear Sergey,
I need to ask the same question again. The commands, that you have showed above are going to be depreciated. Could you please let us know, what can be the new api commands to set the name.
Thanks in advance
0 -
Hi,
In the version 5.0, you could use the /rest/v1/devices/{id} API with PATCH http method.
More details are available in the API documentation via the Server web interface.
https://localhost:7001/#/api-tool/rest-v1-devices-id-patch?version=current%20api
0 -
Thanks Andrey,
I will use this command in a couple of days.
0
Please sign in to leave a comment.
Comments
5 comments