File Safer overview
    • PDF

    File Safer overview

    • PDF

    Article Summary

    Overview

    The File Safer API is provided in a RESTful format, and to call the provided API, you must perform IAM authentication through the API Gateway.

    Common settings

    IAM authentication

    As the File Safer API is provided through the API Gateway, subscription and an API key are required for the IAM authentication necessary when using the API Gateway.

    As the subscription type of the File Safer API is Public, you can use it with the API key you created without a separate subscription process.

    API

    ServiceAPIMethodRequest URI
    Hash FiltercheckHashGEThttps://filesafer.apigw.ntruss.com/hashfilter/v1/checkHash
    Hash FiltergetNotiConfigGEThttps://filesafer.apigw.ntruss.com/hashfilter/v1/getNotiConfig
    Hash FiltersetNotiConfigPOSThttps://filesafer.apigw.ntruss.com/hashfilter/v1/setNotiConfig
    Hash FiltergetThresholdNotiConfigPOSThttps://filesafer.apigw.ntruss.com/hashfilter/v1/getThresholdNotiConfig
    Hash FiltersetThresholdNotiConfigPOSThttps://filesafer.apigw.ntruss.com/hashfilter/v1/setThresholdNotiConfig
    Hash FilterremoveThresholdNotiConfigPOSThttps://filesafer.apigw.ntruss.com/hashfilter/v1/removeThresholdNotiConfig
    File FilterinputFilePOSThttps://filesafer.apigw.ntruss.com/filefilter/v1/inputFile
    File FiltergetInputFileLogGEThttps://filesafer.apigw.ntruss.com/filefilter/v1/getInputFileLog
    File FiltergetInputFileLogByParentHashPOSThttps://filesafer.apigw.ntruss.com/filefilter/v1/getInputFileLogByParentHash
    File FiltergetNotiConfigGEThttps://filesafer.apigw.ntruss.com/filefilter/v1/getNotiConfig
    File FiltersetNotiConfigPOSThttps://filesafer.apigw.ntruss.com/filefilter/v1/setNotiConfig
    File FiltergetThresholdNotiConfigPOSThttps://filesafer.apigw.ntruss.com/filefilter/v1/getThresholdNotiConfig
    File FiltersetThresholdNotiConfigPOSThttps://filesafer.apigw.ntruss.com/filefilter/v1/setThresholdNotiConfig
    File FilterremoveThresholdNotiConfigPOSThttps://filesafer.apigw.ntruss.com/filefilter/v1/removeThresholdNotiConfig

    Request headers

    The following are the request headers for IAM authentication.

    Header nameDescription
    x-ncp-apigw-timestampThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 (UTC).
    The request is considered invalid if the time difference compared to the API Gateway server is more than 5 minutes
    x-ncp-apigw-api-keyKey issued from API Gateway
    x-ncp-iam-access-keyThe API key issued from NAVER Cloud Platform or AccessKey issued from IAM
    x-ncp-apigw-signature-v2A signature that encrypts the request path and header with a SecretKey mapped to an AccessKey
    HmacSHA256 is used as the HMAC encryption algorithm.

    Refer to Call API that requires IAM authentication

    Errors

    HTTP response codereturnCodereturnMessage
    2000success
    200140000Unknown Error
    200140001Parameter is invalid
    200140002Not existent user
    200140003Already in use
    200140004Not allowed user
    200140005Not existing the required parameter
    200140006invalid request
    200140007file size exceeds the limit
    200140009Input file has a problem
    200140010Unzip failed

    Common errors

    HTTP response codeErrorCodeErrorMessage
    400100Bad Request Exception
    401200Authentication Failed
    401210Permission Denied
    404300Not Found Exception
    429400Quota Exceeded
    429410Throttle Limited
    429420Rate Limited
    413430Request Entity Too Large
    503500Endpoint Error
    504510Endpoint Timeout
    500900Unexpected Error

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.