getDetail
    • PDF

    getDetail

    • PDF

    記事の要約

    VPC環境で利用できます。

    Data Forestアプリの詳細情報を照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    idYESString最大22文字まで入力- アプリ識別子 UUID(base62)
    - idは Appsの getList APIを通じて取得可能

    リクエストヘッダ

    共通ガイド参照

    リクエストボディ

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

    レスポンス

    レスポンスボディ

    GetAppDetailResponse

    • JSON
        {
            "components": [
                {
                "allocated": 0,
                "containerCount": 0,
                "containers": [
                    {
                    "hostName": "string",
                    "id": "string",
                    "launchedAt": "2023-05-08T02:22:21.249Z",
                    "name": "string",
                    "state": "string"
                    }
                ],
                "cpuCount": 0,
                "desired": 0,
                "image": "string",
                "memoryMb": 0,
                "name": "string",
                "state": "string"
                }
            ],
            "appId": "string",
            "appTypeId": "string",
            "description": "string",
            "id": "string",
            "lifetime": "string",
            "links": {
                "additionalProp1": "string",
                "additionalProp2": "string",
                "additionalProp3": "string"
            },
            "message": "string",
            "name": "string",
            "queueName": "dev",
            "state": "string",
            "success": true,
            "version": "string"
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <GetAppDetailResponse>
            <components>
                <allocated>0</allocated>
                <containerCount>0</containerCount>
                <containers>
                    <hostName>string</hostName>
                    <id>string</id>
                    <launchedAt>2023-05-08T02:23:28.089Z</launchedAt>
                    <name>string</name>
                    <state>string</state>
                </containers>
                <cpuCount>0</cpuCount>
                <desired>0</desired>
                <image>string</image>
                <memoryMb>0</memoryMb>
                <name>string</name>
                <state>string</state>
            </components>
            <appId>string</appId>
            <appTypeId>string</appTypeId>
            <description>string</description>
            <id>string</id>
            <lifetime>string</lifetime>
            <links>
                <additionalProp>string</additionalProp>
            </links>
            <message>string</message>
            <name>string</name>
            <queueName>dev</queueName>
            <state>string</state>
            <success>true</success>
            <version>string</version>
        </GetAppDetailResponse>
      

    エラーコード

    DataForest概要参照

    リクエスト例

    • HTTP

      POST https://df.apigw.ntruss.com/api/v2/apps/getDetail
      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=
      {
      "id": "A4LI7d5mRn1f6M2HxZAEE2",
      }
      
    • BASH

      curl -X POST "https://df.apigw.ntruss.com/api/v2/apps/getDetail
      " \
      -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 "{ \"id\": \"diYqhQTq8C2csiy0neW2Jq\"}" \
      

    レスポンス例

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
          "success": true,
          "id": "diYqhQTq8C2csiy0neW2Jq",
          "appId": "application_1681893964678_0097",
          "name": "dev24x7",
          "appTypeId": "DEV-1.0.0",
          "version": "v1",
          "lifetime": "6 days, 23:57:54 (604674 seconds)",
          "queueName": "longlived",
          "description": "DEV-1.0.0",
          "state": "STABLE",
          "links": {
              "supervisor ": "https://test--dev24x7--shell--9001.proxy.kr.df.naverncp.com",
              "AppMaster": "https://rm1.kr.df.naverncp.com:9090/cluster/app/application_1681893964678_0097",
              "shell": "https://test--dev24x7--shell--8080.proxy.kr.df.naverncp.com"
          },
          "components": [
              {
              "name": "shell",
              "state": "STABLE",
              "desired": 1,
              "allocated": 1,
              "memoryMb": 2048,
              "cpuCount": 1,
              "image": "rgstry.kr.df.naverncp.com/dataforest/df-env:20220826",
              "containers": [
                  {
                  "id": "container_e826_1681893964678_0097_01_000002",
                  "name": "shell-0",
                  "state": "READY",
                  "launchedAt": "2023-05-08T11:54:35.585+09:00",
                  "hostName": "shell-0.dev24x7.test.kr.df.naverncp.com"
                  }
              ]
              }
          ]
      }
      

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

    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.