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

Status Page

API download

Answered

Comments

1 comment

  • Norman
    • Network Optix team

    Hi Yakov

    You can navigate to https://<serverIp>:7001/swagger-ui/openapi_v4.json and open and save the JSON output. 

    Or use the following command (For macOS/Linux): 

    curl -k -s -X POST https://<serverIp>:7001/rest/v4/login/sessions \
      -H "Content-Type: application/json" \
      -d '{"username": "admin", "password": "password123", "setCookie": true, "durationS": 100, "setSession": true}' \
      | jq -r '.token' \
      | xargs -I {} curl -k -s -X GET https://<serverIp>:7001/swagger-ui/openapi_v4.json -H "Authorization: Bearer {}" \
      | jq '.' > openapi_v4_pretty.json

    With kind regards.

    0

Please sign in to leave a comment.