11-23-2023 01:56 AM
Is it possible via the XIQ Controller API to "Retrieve Trace" what is available in the Advanced configuration of the Access Points?
I want to get from multiple APs the Traces via API.
Solved! Go to Solution.
11-23-2023 06:21 AM - edited 11-23-2023 09:09 AM
Hello
Yes this is possible via the API, essentially it's a 3 step process, create the trace, find the trace name, retrieve the trace.
step 1 generate the trace, if scripting add a short pause to allow this to happen, I used 10 secs in my script.
Put: url: management/v1/aps/<serialnumber>/logs
step 2 get the filename of the trace file
Get: management/v1/aps/<serialnumber>/traceurls
step 3 download the trace from step 2
Get: /management/v1/aps/downloadtrace/<full trace name>
HTH
-Gareth
11-23-2023 07:08 AM
Do you mean in Step 2 a different URL?
management/v1/aps/<serialnumber>/traceurls ?
11-23-2023 09:10 AM
Yes, I have fixed my original post.
11-23-2023 06:21 AM - edited 11-23-2023 09:09 AM
Hello
Yes this is possible via the API, essentially it's a 3 step process, create the trace, find the trace name, retrieve the trace.
step 1 generate the trace, if scripting add a short pause to allow this to happen, I used 10 secs in my script.
Put: url: management/v1/aps/<serialnumber>/logs
step 2 get the filename of the trace file
Get: management/v1/aps/<serialnumber>/traceurls
step 3 download the trace from step 2
Get: /management/v1/aps/downloadtrace/<full trace name>
HTH
-Gareth
11-23-2023 11:21 PM
I was not aware of the PUT URL
In the Documentation, it was not clearly described.