Search for risks
This article shows how to use the ADOXX API to search for objects
.
The snippet below will search for risk objects
and return the first 20.
For each risk object, we want to retrieve the name, the description and the frequency of the risk assessment.
note
The snippet below uses Basic Authentication.
Replace the values in angle brackets with values that fit your setup, e.g. instead of <HOST> use the host at which you access your ADOXX instance.
Click to view the code!
Loading code...
The result should look similar to the following:
Status Code: 200
Result:
{
"rest_links": [ ... ],
"hitsTotal": 123,
"locale": "en",
"rangeStart": 0,
"rangeEnd": 20,
"items": [ ... ]
}