get-target-nas-list

Prev Next

Available in VPC

Get the list of NAS to save imported files in a box.

Request

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

Method URI
GET /api/v1/import/get-target-nas-list

Request headers

For information about the headers common to all Datafence APIs, see Datafence request headers.

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
fenceId Integer Required Datafence number
boxId Integer Required Box number

Request example

The request example is as follows:

curl --location --request GET 'https://datafence.apigw.ntruss.com/api/v1/import/get-target-nas-list?fenceId=26&boxId=74' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
content Array - Target NAS list

content

The following describes content.

Field Type Required Description
boxStorageId Integer - Target NAS number
instanceNo Integer - Target NAS instance number
instanceName String - Target NAS instance name

Response status codes

For information about the HTTP status codes common to all Datafence APIs, see Datafence API response status codes.

Response example

The response example is as follows:

{
    "content": [
        {
            "boxStorageId": 1097,
            "instanceNo": ********,
            "instanceName": "74box1"
        }
    ]
}