Asset Discovery
Sonar Query
Changed onUpdates a sonar query.
put/api/3/sonar_queries/{id}
Request
- Base URLhttps://<host>:<port>
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The identifier of the Sonar query.
Example:14
Request body
Example request
{
"criteria": {
"filters": [
{
"domain": "acme.com",
"type": "domain-contains"
}
]
},
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"name": "Assets in Domain"
}Response
OK
Example response
{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
}Changes
- breaking
added required request body
- 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
added the media type
application/json;charset=UTF-8for the response with the status
- breaking