MENU
      getList

        getList


        記事の要約

        VPC環境で利用できます。

        作成した Notebookのリストを照会します。

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        accountIdYESString- アカウント識別子 UUID(base62)
        - accountIdは Accountsの getList APIを通じて取得可能
        pagingNO- limitは 1以上でなければなりません。- limit: 照会結果の最大個数。
        - offset: スキップする結果の個数。

        リクエストヘッダ

        共通ガイド参照

        リクエストボディ

        • JSON
          {
                "accountId": "string",
                "paging": {
                  "limit": 10,
                  "offset": 0
                }
          }
          JSON
        • XML
          <?xml version="1.0" encoding="UTF-8"?>
          <GetNotebookListRequest>
            <accountId>string</accountId>
            <paging>
              <limit>10</limit>
              <offset>0</offset>
            </paging>
          </GetNotebookListRequest>
          XML

        エラーコード

        HTTP StatusDescription
        400invalid request parameters
        403not allowed to access
        404no such element
        500unexpected error

        リクエスト例

        POST https://df.apigw.ntruss.com/api/v2/notebooks/getList
        HOST: df.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-apigw-signature-v2: Azm1WBMWDgEONUCUbsVkB4tRIpc053uOHU8bitbQRtU=
        x-ncp-apigw-timestamp: 1658898041497
        x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu
        {
          "accountId": "2mUVZaHseGadiNFAg5MHjk",
          "paging": {
            "limit": 10,
            "offset": 0
          }
        }
        HTTP
        curl -X POST "https://df.apigw.ntruss.com/api/v2/notebooks/getList" \
        -H "accept: application/json" \
        -H "Content-Type: application/json" \
        -H "x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu" \
        -H "x-ncp-apigw-timestamp: 1684749187130" \
        -H "x-ncp-apigw-signature-v2: rtHrKXxQaCKSVXanwMx3VKpQJmnPhATpLNsXXY3HvVs=" \
        -d "{ \"accountId\": \"2mUVZaHseGadiNFAg5MHjk\", \"paging\": { \"limit\": 10, \"offset\": 0 }}"
        Bash

        レスポンス例

        • HTTP

          HTTP StatusDescription
          200OK
        • BASH

          {
              "success": true,
              "total": 1,
              "contents": [
                {
                  "id": "7kHeVWhiRsxdRl0nXz04ri",
                  "name": "df-notebook",
                  "typeName": "Jupyter Lab",
                  "state": "RUNNING",
                  "vpcNo": 8717,
                  "vpcName": "test-vpc",
                  "subnetNo": 13594,
                  "subnetName": "prisub-kr",
                  "serverDesc": "vCPU 4EA, Memory 16GB, [HDD]Disk 50GB",
                  "createdAt": "2023-05-22T16:53:30+09:00",
                  "disabled": false
                }
              ]
          }
              ```
          JSON

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

        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.