Select the tab
ESET Inspect On-Prem – Table of Contents

GET Get a list of exclusions

Relative path: /api/v1/exclusions

Query parameters

Name

Type

Description

$top

integer

System query option requests the number of items in the queried collection to be included in the result

$skip

integer

System query option requests the number of items in the queried collection that are to be skipped and not included in the result

$count

integer

System query option allows clients to request a count of the matching resources included with the resources in the response. If set to $count=1, the number of detections is returned

$orderBy

string

System query option allows clients to request resources in either ascending order using asc or descending order using desc. If not specified the order is in the ascending way in: query

$filter

string

System query option allows clients to filter a collection of resources that are addressed by the request URL. The query supports the following operators eq, ne, gt, ge, lt, le, and, or, and (). Operators can be combined with values to filter data. For instance, “resolved eq 0” will report only unresolved detections



Responses

Display Schema+Headers instead of an Example or vice-versa

Code

Description and Example

Description, Schema and Headers

200

OK


Response example

{
  "count": 0,
  "value": [
    {
      "enabled": true,
      "id": 0,
      "name": "string",
      "note": "string",
      "uuid": "string"
    }
  ]
}

OK


Response schema

{
  "$ref": "ExclusionListResponseSchema",
  "count": {
    "type": "integer",
    "nullable": true
  },
  "value": [
    {
      "enabled": {
        "type": "boolean"
      },
      "id": {
        "type": "integer"
      },
      "name": {
        "type": "string"
      },
      "note": {
        "type": "string"
      },
      "uuid": {
        "type": "string",
        "format": "uuid"
      }
    }
  ]
}


Headers

{
  "X-Security-Token": {
    "$ref": "X-Security-Token",
    "description": "Authentication token",
    "schema": {
      "$ref": "AuthenticateTokenResponse",
      "type": "string",
      "example": "eyJhbGciOi[..]ziJSUGusY5kAI"
    }
  }
}

401

Credentials or access token missing or invalid


Response example

{
  "error": "string"
}

Credentials or access token missing or invalid


Response schema

{
  "$ref": "UnauthorizedError",
  "error": {
    "type": "string"
  }
}