GetAllPortPlugin
    • PDF

    GetAllPortPlugin

    • PDF

    Article Summary

    Summary

    This API queries the user's port plugin settings.

    Request

    API URL

    URL: https://cw.apigw.ntruss.com/cw_server/real/api/plugin/port
    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: {your region code}
    

    Example

    Request example

    GET /cw_server/real/api/plugin/port
    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: {your region code}
    

    Response example

    The API returns HTTP code 200 as well as all of the user-defined port plugins if the query is completed without any errors.

    [
      {
        "portList": [
          80,
          8080
        ],
        "instanceNo": "1234567"
      },
      {
        "portList": [
          80,
          8080
        ],
        "instanceNo": "7654321"
      }
    ]
    

    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.