getList
    • PDF

    getList

    • PDF

    記事の要約

    VPC環境で利用できます。

    Data Forestアカウントのすべてのアプリリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    search.accountIdYESString最大22文字まで入力照会するアカウントの UUID(base62)

    リクエストヘッダ

    共通ガイド参照

    リクエストボディ

    • JSON
        {
            "search": {
                "accountId": "string"
                }
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <GetAppListRequest>
            <search>
                <accountId>string</accountId>
            </search>
        </GetAppListRequest>
      

    レスポンス

    レスポンスボディ

    GetAppListResponse

    • JSON
        {
            "contents": [
                {
                "accountId": "string",
                "accountName": "string",
                "disabled": true,
                "finishedAt": "2023-05-08T02:10:17.223Z",
                "id": "string",
                "lifetimeMillis": 0,
                "name": "string",
                "queueName": "longlived",
                "startedAt": "2023-05-08T02:10:17.223Z",
                "state": "string"
                }
            ],
            "message": "string",
            "success": true,
            "total": 0
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <GetAppListResponse>
            <contents>
                <accountId>string</accountId>
                <accountName>string</accountName>
                <disabled>true</disabled>
                <finishedAt>2023-05-08T02:10:31.195Z</finishedAt>
                <id>string</id>
                <lifetimeMillis>0</lifetimeMillis>
                <name>string</name>
                <queueName>longlived</queueName>
                <startedAt>2023-05-08T02:10:31.195Z</startedAt>
                <state>string</state>
            </contents>
            <message>string</message>
            <success>true</success>
            <total>0</total>
        </GetAppListResponse>
      

    エラーコード

    DataForest概要参照

    リクエスト例

    • HTTP
      POST https://df.apigw.ntruss.com/api/v2/apps/getList
      HOST: df.apigw.ntruss.com
      Content-Type: application/json
      x-ncp-apigw-timestamp: 1505290625682
      x-ncp-iam-access-key: D78BB444D6D3C84CA38A
      x-ncp-apigw-signature-v2: WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=
      
      {
      "search": {
          "accountId": "diYqhQTq8C2csiy0neW2Jq"
          }
      }
      
    • BASH
      curl -X POST "https://df.apigw.ntruss.com/api/v2/apps/getList" \
      -H "accept: application/json" \
      -H "Content-Type: application/json" \
      -H "x-ncp-apigw-timestamp:1505290625682" \
      -H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \
      -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
      -d "{ \"search\": { \"accountId\": \"diYqhQTq8C2csiy0neW2Jq\" }}" \
      

    レスポンス例

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
          "success": true,
          "total": 1,
          "contents": [
              {
              "id": "diYqhQTq8C2csiy0neW2Jq",
              "name": "dev24x7",
              "state": "RUNNING",
              "queueName": "longlived",
              "accountId": "cAAH2NqfDsGdgMKcgMpShH",
              "accountName": "test",
              "startedAt": "2023-05-08T11:54:28+09:00",
              "lifetimeMillis": 604800,
              "disabled": false
              }
          ]
      }
      

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

    What's Next
    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.