---
title: "CustomCodeBlocks (Webflow)"
description: "\u30AB\u30B9\u30BF\u30E0\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/webflow/Webflow.CustomCode.CustomCodeBlocks
original: https://documentation.invantive.eu/en/datamodels/webflow/Webflow.CustomCode.CustomCodeBlocks
updated: 2026-12-04T03:27:12Z
license: https://documentation.invantive.eu/ja/
---

# CustomCodeBlocks: Webflow Custom Code Blocks

`read only` `REST`

- カタログ：`Webflow`
- スキーマ: `CustomCode`
- 主キー：`site_id, page_id, script_id`
- Label: Custom Code Blocks

データの取得のみ可能です。

## 概要

The registered scripts applied to the sites and their pages, one row per script. Webflow answers these to an OAuth app only, so a site token reads no rows.

## APIソース

- エンドポイント: `/sites/{site_id}/custom_code/blocks`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 平均アクセス遅延（ms） | 285 |
| 全件スキャンの毎分行数 | 5,800 |

## 表の列

テーブル `CustomCodeBlocks` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `attributes_json` | `varchar2` | 属性 JSON | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | The attributes of the script element as JSON. |
| `location` | `varchar2` | 所在地 | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | header or footer. |
| `page_id` | `varchar2` | ページID | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | The page the script is applied to; null for the whole site. |
| `script_id` | `varchar2` | スクリプトID | [x] | プラットフォーム上でフィルタ可能、書き込み可能 | The registered script. |
| `site_id` | `varchar2` | サイトID | [x] | プラットフォーム上でフィルタ可能、書き込み可能 | The site. |
| `version` | `varchar2` | バージョン | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | The version of the script applied. |

## キー

| キー | コラム | 「～を指す」 | 種類 | 説明 |
|---|---|---|---|---|
| `CustomCodeBlocks_script_id_fk` | `script_id` | [RegisteredScripts](Webflow.CustomCode.RegisteredScripts)`.id` | キー |  |
