データセットの修正
    • PDF

    データセットの修正

    • PDF

    記事の要約

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

    データセットを修正します。

    POST https://aitems.apigw.ntruss.com/api/v1/datasets/{datasetId}
    

    リクエスト

    リクエストパラメーター

    パラメーター名必須有無タイプ制約事項説明
    datasetIdYesString作成されたデータセットID

    リクエストボディー

    パラメーター名必須有無タイプ制約事項説明
    typeYesStringuser、item、interactionのうち1つを選択データセットタイプ
    nameYesString最初の文字はアルファベットまたは「」、アルファベット・数字・「」・「-」は3~20文字まで入力可能データセット名
    descriptionNoString0~100文字で入力データセットの説明
    schemaNameYesString作成されたスキーマ名作成するデータセットのスキーマを選択
    osInfo.regionYesStringKR, EN, JP ..オブジェクトストレージリージョン
    osInfo.bucketYesStringオブジェクトストレージバケット名
    osInfo.keyYesStringオブジェクトストレージキー

    レスポンス

    フィールド名タイプ説明備考
    datasetIdStringデータセットID
    typeStringデータセットタイプ
    nameStringデータセット名
    descriptionStringデータセットの説明
    schemaNameStringスキーマ名
    statusStringサービスの状態
    osInfo.regionStringオブジェクトストレージリージョン
    osInfo.bucketStringオブジェクトストレージバケット名
    osInfo.keyStringオブジェクトストレージキー
    connectedService[].serviceIdStringデータセットを使用中のサービスID
    connectedService[].nameStringデータセットを使用中のサービス名
    createdDateStringデータセット作成日
    updatedDateString最終アップデート

    レスポンスStatus

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

    リクエスト例

    POST /api/v1/datasets/3vewbw8r9r9
    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}
    
    {
      "type": "item",
      "name": "item_dataset",
      "description": "abc",
      "schemaName": "test_item",
      "osInfo": {
        "region": "KR",
        "bucket": "aitems-820431800",
        "key": "bookmarks-items.csv"
      }
    }
    
    

    レスポンス例

    {
      "type": "item",
      "name": "item_dataset",
      "description": "abc",
      "datasetId": "3vewbw8r9r9",
      "schemaName": "test_item",
      "status": "enable",
      "osInfo": {
        "region": "KR",
        "bucket": "aitems-820431800",
        "key": "bookmarks-items.csv"
      },
      "connectedService": [],
      "createdDate": "2021-08-21T15:47:58.302",
      "updatedDate": "2021-09-03T16:22:07.509"
    }
    

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

    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.