Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Camera password recovery

Answered

Comments

5 comments

  • Norman
    • Network Optix team

    Hi Michael Votaw,

    You can retrieve the credentials with the following API request: 

    https://<serverIp>:7001/rest/v4/devices?_with=url,name,credentials

    With kind regards. 

    0
  • Michael Votaw

    So tried running in web browser and get this:  {"error":"9","errorId":"notFound","errorString":"Unknown OpenAPI schema path /rest/v4/devices"}

    0
  • Norman
    • Network Optix team

    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:

    1. First, navigate to the WebAdmin via https://<serverIp>:7001/ and authenticate.
    2. 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
  • Michael Votaw

    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
  • Norman
    • Network Optix team

    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.