ネットワークリストを表示
    • PDF

    ネットワークリストを表示

    • PDF

    Article Summary

    ブロックチェーンネットワークのリストを表示します。

    リクエスト

    リクエスト URL

    GET {BLOCKCHAINSERVICE API_URL}/networks
    

    リクエストパラメーター

    Parameter NameRequired statusTypeRestrictionDescription
    pageNoint- Page number
    - Default : 0
    sizeNoint- Size of result list
    - Default: 20
    sortNoStringName of Order column (Ascending)

    リクエストの例

    curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks?page=0&size=20&sort=networkName" \
        -H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}" \
        -H "x-ncp-iam-access-key: {x-ncp-iam-access-key}"  \
        -H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}" 
    

    レスポンス

    レスポンス Body

    CategoryTypeDescription
    statusstringIndicates whether response was successful
    body.content[].networkIdLongNetwork ID
    body.content[].networkNameStringNetwork name
    body.content[].nksClusterNameStringNcloud Kubernetes Service Cluster Name
    body.content[].statusStringNetwork status (ACTIVE, DEPLOY, DELETE)
    body.content[].createDateLocalDateTimeNetwork created date
    body.content[].updateDateLocalDateTimeNework last modified date
    body.totalElementsLongTotal count of content
    body.totalPagesIntegerCount of page

    レスポンスボディ

    {
      "content": [
        {
          "networkId": 301,
          "networkName": "blockchain-network",
          "nksClusterName": "kubernetes-name",
          "networkStatus": "ACTIVE",
          "useYn": "Y",
          "createDt": "2021-11-29T05:58:12+0000",
          "updateDt": "2021-11-29T06:03:55+0000"
        }
      ],
      "totalElements": 1,
      "totalPages": 1
    }
    

    この記事は役に立ちましたか?

    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.