Debug File
The REST API supports collecting the Debug file, which contains device logs and detailed status information. The Debug file is typically used for troubleshooting.
Perform the following to collect the Debug file from the device:
|
1.
|
Send a POST request to the create/debugFile or create/debugFileRedundant endpoint; the device starts Debug file creation and responds with a 200 OK. The response contains the URL from which the file can be downloaded in the Location header. |
|
2.
|
Start polling the specified URL using the GET request. |
|
●
|
If the file is still not ready, you will receive a 204 No Content response. Wait a few seconds and then re-send the GET request. |
|
●
|
When the file is ready, you will receive a 201 Created response with the file content encoded as 'application/octet-stream'. |