Release : 20.4
using this url to access swagger on UIM 20.4 cu4 or later
http://<OC ip or hostname>/uimapi/swagger-ui/index.html
In this example it is deleting a key from a probe
/uimapi/probes/{domain}/{hub}/{robot}/{probe}/config.
Using the above output, you can find the key, but you may have to reencode it.
Encoding Request Parameters
For GET and DELETE request parameters you need to encode the 'Key' using an encoding tool before you select Try it out!
For example, if the 'Key' value is:
/disk/alarm/fixed/C:\/warning/active
then the encoded value is:
%2Fdisk%2Falarm%2Ffixed%2FC%3A%5C%2Fwarning%2Factive
which should be used as the 'Key 'request.
Here is a table to encode the special characters in UTF-8:
/ = %2F
: = %3A
\ = %5C
%2fdisk%2falarm%2ffixed%2fc%3a%5c%2fwarning%2factive
running it in the test would be this:
{
"domain": "uim_domain",
"hub": "uim_hub",
"key": "%2fdisk%2falarm%2ffixed%2fc%3a%5c%2fwarning%2factive",
"probe": "cdm",
"robot": "uim"
}