GET publicAPI

Gets from a tenant the status of function for saving detections of indicators received via public API.

Path

/api/%API_VERSION%/{TenantName}/settings/publicApi

Method

GET

Request headers

This request has the following headers.

Request headers

Name

Value

Description

Authorization

String (base 64)

Authentication string.

Accept

application/json

Response content type.

Request body

This request has an empty body.

Request example

GET https://192.168.2.57/api/1.3/ExampleTenant/settings/publicApi

 

Accept: application/json

Authorization: Basic AWxhZGRpbjpvcGVuc2VzYW23

Response body

The response has the following headers.

Response headers

Name

Value

Description

Content-Type

application/json

Response content type.

Content-Length

Integer

Response body size, in bytes.

The response body has the following format:

{

"saveDetects": %STATUS%

}

Function status object properties are described in the following table.

Function status object properties

Property

Value

Description

saveDetects

Boolean

Status of the function.

 

 

Response example

НТТР/1.3 200 ОК

Date:Mon, 21 Apr 2025 09:56:10 UTC

Content-Type: application/json

Content-Length: 36

 

[

{

"saveDetects": true

}

]

Page top