Camera password recovery
AnsweredWe need the ability to recover camera passwords. Can be restricted to only highest VMS admin. We have this feature in another VMS and routinely use it for maintenance and to recover passwords for cameras the customer has misplaced. Its invaluable.
-
Hi Michael Votaw,
You can retrieve the credentials with the following API request:
https://<serverIp>:7001/rest/v4/devices?_with=url,name,credentialsWith kind regards.
0 -
So tried running in web browser and get this: {"error":"9","errorId":"notFound","errorString":"Unknown OpenAPI schema path /rest/v4/devices"}
0 -
Hi Michael Votaw,
Running the request directly in the browser won't work on its own because it requires Bearer authentication, and by default your browser won't utilize that.
If you aren't familiar with API requests, the easiest method is to do it in two steps:
- First, navigate to the WebAdmin via
https://<serverIp>:7001/and authenticate. - Open a new tab and run the API request:
https://<serverIp>:7001/rest/v4/devices?_with=url,name,credentials
This way, the authentication cookie will be reused and the output should list the following:
- Device IP address
- Device Name
- Device Credentials
With kind regards.
0 - First, navigate to the WebAdmin via
-
Got it to run but had to use /rest/v3
Just by chance as I was trying to read through the api documentation and testing schemes and it showed a v3
That produced an output.
Thanks!
Mike
0 -
Hi Michael Votaw,
Glad to hear it’s all sorted! I assumed you were on v6.1.x (API v4), but v3 is the right call for 6.0.x builds. It's great to see you've found your way around the REST API.Best regards.
0
Please sign in to leave a comment.
Comments
5 comments