スキーマ一覧の照会
    • PDF

    スキーマ一覧の照会

    • PDF

    記事の要約

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

    全体スキーマリストを照会します。

    GET https://aitems.apigw.ntruss.com/api/v1/schemas?datasetType={datasetType}
    

    リクエスト

    パラメーター名必須有無タイプ制約事項説明
    datasetTypeNoStringuser, item, interaction使用可能なデータセットタイプ

    レスポンス

    フィールド名タイプ説明備考
    schemas[].datasetTypeString使用可能なデータセットタイプ
    schemas[].nameStringスキーマ名
    schemas[].createdDateStringスキーマ作成日

    レスポンスStatus

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

    リクエスト例

    GET /api/v1/schemas
    
    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}
    

    レスポンス例

    {
      "schemas": [
        {
          "datasetType": "user",
          "name": "book_user",
          "createdDate": "2021-09-29T11:13:19.08"
        },
        {
          "datasetType": "item",
          "name": "movie_item",
          "createdDate": "2021-09-29T11:11:41.121"
        },
        {
          "datasetType": "user",
          "name": "user_info",
          "createdDate": "2021-09-14T18:01:02.47"
        }
      ]
    }
    

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

    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.