getList
    • PDF

    getList

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    AI 워크스페이스의 모든 목록을 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    search.accountIdYESString최대 22자까지 입력조회하고자 하는 계정 UUID(base62)

    요청 헤더

    공통 가이드 참조

    요청 바디

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

    응답

    응답 바디

    GetAiWorkspaceResponse

    • JSON
        {
            "contents": [
                {
                "accountName": "string",
                "createdAt": "2023-05-15T02:23:55.752Z",
                "description": "string",
                "disabled": true,
                "id": "string",
                "imageVersion": "string",
                "modifiedAt": "2023-05-15T02:23:55.752Z",
                "name": "string"
                }
            ],
            "message": "string",
            "success": true,
            "total": 0
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <GetAiWorkspaceListResponse>
            <contents>
                <accountName>string</accountName>
                <createdAt>2023-05-15T02:26:26.689Z</createdAt>
                <description>string</description>
                <disabled>true</disabled>
                <id>string</id>
                <imageVersion>string</imageVersion>
                <modifiedAt>2023-05-15T02:26:26.689Z</modifiedAt>
                <name>string</name>
            </contents>
            <message>string</message>
            <success>true</success>
            <total>0</total>
        </GetAiWorkspaceListResponse>
      

    오류코드

    DataForest 개요 참조

    예시

    요청 예시

    POST https://df.apigw.ntruss.com/api/v2/aiworkspaces/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: 17F9A6E9F72BD92ED94B
    
    {
          "search": {
            "accountId": "azjdAVRBx7cdEZqjvxSabH"
          }
    }
    
    curl -X POST "https://df.apigw.ntruss.com/api/v2/aiworkspaces/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\": \"azjdAVRBx7cdEZqjvxSabH\" }}" \
    

    응답 예시

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
          "success": true,
          "total":1,
          "contents": [
              {
              "id": "9YYJ3tyxqtafSniaNvJ8uq",
              "name": "<AI 워크스페이스-이름>",
              "accountName": "<계정-이름>",
              "description": "<AI 워크스페이스-설명>",
              "imageVersion": "<Docker 이미지>:<Docker 이미지 버전>",
              "createdAt": "2022-07-27T16:17:44.055+09:00",
              "modifiedAt": "2022-07-27T16:17:44.092+09:00",
              "disabled": true
              }
          ]
      }
      

    이 문서가 도움이 되었습니까?

    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.