getNotiConfig

Prev Next

Available in Classic and VPC

Get the value of the notification settings for analysis results using hash filter.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /getNotiConfig

Request headers

For information about the headers common to all File Safer APIs, see Common File Safer API headers.

Request example

The request example is as follows:

curl --location --request GET 'https://filesafer.apigw.ntruss.com/hashfilter/v1/getNotiConfig' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-apigw-api-key: {API Gateway API Key}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Accept: application/json'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
returnCode String Required Response code
returnMessage String Required Response message
notificationType String Required Conditions for analysis results notification
  • OFF | MAL | MAE | ERR | ALL
    • OFF: Do not notify
    • MAL: Notify when malware is detected
    • MAE: Notify when malware is detected or query fails
    • ERR: Notify when query fails
    • ALL: Notify all

Response status codes

For information about the HTTP status codes common to all File Safer APIs, see File Safer response status codes.

Response example

The response example is as follows:

{
    "returnCode": "0",
    "returnMessage": "success",
    "notificationType": "ALL"
}