スキーマの照会
    • PDF

    スキーマの照会

    • PDF

    記事の要約

    最新のコンテンツが反映されていません。早急にアップデート内容をご提供できるよう努めております。最新のコンテンツ内容は韓国語ページをご参照ください。

    スキーマ情報を照会します。

    GET https://aitems.apigw.ntruss.com/api/v1/schemas/{schemaName}
    

    リクエスト

    リクエストパラメーター

    パラメーター名必須有無タイプ制約事項説明
    schemaNameYesString作成されたスキーマ名

    レスポンス

    フィールド名タイプ説明備考
    datasetTypeString使用可能なデータセットタイプ
    nameStringスキーマ名
    fields[].nameStringスキーマフィールド名
    fields[].typeArrayスキーマフィールドタイプ
    fields[].categoricalBooleanカテゴリ型フィールドの有無
    descriptionStringスキーマ説明
    createdDateStringスキーマ作成日

    レスポンスStatus

    HTTP StatusDesc
    200OK(照会完了)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    リクエスト例

    GET /api/v1/schemas/LogInfo
    
    Host: aitems.apigw.ntruss.com
    accept: application/json
    x-ncp-iam-access-key: {Access key}
    x-ncp-apigw-signature-v2: {API GW signature}
    x-ncp-apigw-timestamp: {timestamp}
    

    レスポンス例

    {
      "datasetType": "interaction",
      "name": "LogInfo",
      "fields": [
        {
          "name": "TIMESTAMP",
          "type": [
            "long"
          ]
        },
        {
          "name": "USER_ID",
          "type": [
            "string"
          ]
        },
        {
          "name": "ITEM_ID",
          "type": [
            "string"
          ]
        }
      ],
      "description": "desc",
      "createdDate": "2021-08-21T15:40:56.049"
    }
    

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

    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.