GetFilePlugin
  • PDF

GetFilePlugin

  • PDF

Summary

Can be used in a VPC environment.

This API queries the file plugin settings of the instanceNo.

Request

API URL

URL: https://cw.apigw.ntruss.com/cw_server/real/api/plugin/file/instanceNo/{instanceNo}
Method: GET

Request header

The request headers specified in common settings are required.

x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
x-ncp-dmn_cd: PUB
x-ncp-region_code: KR

Request Parameters

Parameter Name Requirement status Type Restrictions Description
instanceNo Y String instanceNo of the server

Example

Request example

GET /cw_server/real/api/plugin/file/instanceNo/1234567
Host: cw.apigw.ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
x-ncp-dmn_cd: PUB
x-ncp-region_code: KR

Response example

The API returns HTTP code 200 as well as the file plugin settings of the corresponding instanceNo if the query is completed without any errors.

{
    "configList": [
      "/root/insight_test/insight.pyc",
      "/root/insight_test/api/file.pyc"
    ],
    "instanceNo": "1234567"
}

Was this article helpful?

What's Next