Zum Hauptinhalt springen
GET
/
cms
/
v3
/
hubdb
/
tables
公開済みのテーブルを全て取得
curl --request GET \
  --url https://api.hubapi.com/cms/v3/hubdb/tables \
  --header 'Authorization: Bearer <token>'
{
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    }
  },
  "results": [
    {
      "allowChildTables": true,
      "allowPublicApiAccess": true,
      "columnCount": 123,
      "columns": "{name: \"column1\"",
      "createdAt": "2023-11-07T05:31:56Z",
      "createdBy": {
        "email": "<string>",
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>"
      },
      "deleted": true,
      "deletedAt": "2023-11-07T05:31:56Z",
      "dynamicMetaTags": {},
      "enableChildTablePages": true,
      "id": "<string>",
      "isOrderedManually": true,
      "label": "<string>",
      "name": "<string>",
      "published": true,
      "publishedAt": "2023-11-07T05:31:56Z",
      "rowCount": 123,
      "updatedAt": "2023-11-07T05:31:56Z",
      "updatedBy": {
        "email": "<string>",
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>"
      },
      "useForPages": true
    }
  ],
  "total": 123
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
hubdb

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

after
string

次の結果のセットを取得するためのカーソルトークン値。これはその他の結果が含まれるページ付けされたレスポンスの「paging.next.after」JSONプロパティーから取得できます。

archived
boolean

アーカイブ済みのテーブルを返すかどうかが指定されます。デフォルト値は「false」です。

contentType
string

レスポンスのコンテンツタイプを指定します。

createdAfter
string<date-time>

指定された時間より後に作成されたテーブルのみを返します。

createdAt
string<date-time>

指定された時間ちょうどに作成されたテーブルのみを返します。

createdBefore
string<date-time>

指定された時間より前に作成されたテーブルのみを返します。

isGetLocalizedSchema
boolean

テーブルのローカライズ済みのスキーマを取得するかどうかを示します。

limit
integer

返す結果の最大数。デフォルトは1000です。

sort
string[]

結果の並べ替えに使用するフィールドが指定されます。有効なフィールドは「name」、「createdAt」、「updatedAt」、「createdBy」、「updatedBy」で、デフォルトでは「createdAt」が使用されます。

updatedAfter
string<date-time>

指定された時間より後に最後に更新されたテーブルのみを返します。

updatedAt
string<date-time>

指定された時間ちょうどに最後に更新されたテーブルのみを返します。

updatedBefore
string<date-time>

指定された時間より前に最後に更新されたテーブルのみを返します。

Response

successful operation

results
object[]
required
total
integer
required
paging
object