Sites
Changed onRetrieves a paged resource of accessible sites.
Request
- Base URLhttps://<host>:<port>
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The index of the page (zero-based) to retrieve.
The number of records per page to retrieve.
The criteria to sort the records by, in the format: property[,ASC|DESC]. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.
Response
OK
Example response
{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"page": {
"number": 6,
"size": 10,
"totalPages": 13,
"totalResources": 123
},
"resources": [
{
"assets": 768,
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"riskScore": 4457823.78,
"vulnerabilities": {
"critical": 16,
"moderate": 3,
"severe": 76,
"total": 95
}
}
]
}Changes
- info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status
- info