get-nas-list

Prev Next

Available in VPC

Get NAS used for exporting and importing files.

Request

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

Method URI
GET /api/v1/storage/get-nas-list

Request headers

For information about the headers common to all Cloud Data Box APIs, see Cloud Data Box request headers.

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
dataBoxNo Integer Required Data box number
  • Number displayed in common for server names in the Infrastructure tab menu that appears after clicking the [View Server Details] button in the My Space menu of the NAVER Cloud Platform Console.

Request example

The request example is as follows:

curl --location --request GET 'https://databox.apigw.ntruss.com/api/v1/storage/get-nas-list?dataBoxNo=****' \
--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
totalCount Integer - Number of response results
content Array - NAS list

content

The following describes content.

Field Type Required Description
nasInstanceNo String - NAS instance number
nasName String - NAS name

Response status codes

For information about the HTTP status codes common to all Cloud Data Box APIs, see Cloud Data Box response status codes.

Response example

The response example is as follows:

{
    "totalCount": 1,
    "content": [
        {
            "nasInstanceNo": "********",
            "nasName": "nasw1"
        }
    ]
}