Skip to content
Last updated

テーブルの更新

PUT /reporting/datamodels/{datamodel_id}/datasets/{dataset_id}/tables/{table_id} を呼び出します。次の例では、テーブルの作成/追加 POST APIと同じ定義を使用しています。

APIエンドポイントについては、お使いの地域に適したエンドポイントを選択してください。

curl -X PUT https://<api endpoint>/reporting/datamodels/xxxxxx/datasets/yyyyyy/tables/zzzzz \
-H 'authorization: TD1 xxxx/xxxxxxxxxxxxxx' \
-H 'cache-control: no-cache' \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-d '{
      "name": "pageviews",
      "definition": {
        "columns": {
          "td_url": {
            "type": "text"
          },
          "time": {
            "type": "int"
          }
        }
      }
    }'