Pular para o conteúdo principal
GET
/
cms
/
v3
/
hubdb
/
tables
Obter todas as tabelas publicadas
curl --request GET \
  --url https://api.hubapi.com/cms/v3/hubdb/tables \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "allowChildTables": true,
      "allowPublicApiAccess": true,
      "columnCount": 123,
      "columns": "{name: \"column1\"",
      "createdAt": "2023-11-07T05:31:56Z",
      "deleted": true,
      "deletedAt": "2023-11-07T05:31:56Z",
      "dynamicMetaTags": {},
      "enableChildTablePages": true,
      "id": "<string>",
      "label": "<string>",
      "name": "<string>",
      "published": true,
      "publishedAt": "2023-11-07T05:31:56Z",
      "rowCount": 123,
      "updatedAt": "2023-11-07T05:31:56Z",
      "useForPages": true,
      "createdBy": {
        "email": "<string>",
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>"
      },
      "isOrderedManually": true,
      "updatedBy": {
        "email": "<string>",
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>"
      }
    }
  ],
  "total": 123,
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    }
  }
}

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Professional

Authorizations

Authorization
string
header
required

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

Query Parameters

after
string

O valor do token do cursor para obter o próximo conjunto de resultados. Você pode obter esse valor da propriedade JSON "paging.next.after" em uma resposta paginada que contém mais resultados.

archived
boolean

Especifica se deve retornar tabelas arquivadas. O padrão é "false".

contentType
string

Especifica o tipo de conteúdo da resposta.

createdAfter
string<date-time>

Retorne apenas tabelas criadas após o horário especificado.

createdAt
string<date-time>

Retorne apenas tabelas criadas exatamente no horário especificado.

createdBefore
string<date-time>

Retorne apenas tabelas criadas antes do horário especificado.

isGetLocalizedSchema
boolean

Indica se deve recuperar o esquema localizado para as tabelas.

limit
integer<int32>

O número máximo de resultados a serem retornados. O padrão é 1.000.

sort
string[]

Especifica quais campos usar para classificar os resultados. Os campos válidos são "name", "createdAt", "updatedAt", "createdBy", "updatedBy". O campo "createdAt" será usado por padrão.

updatedAfter
string<date-time>

Retorne apenas tabelas atualizadas pela última vez após o horário especificado.

updatedAt
string<date-time>

Retorne apenas tabelas atualizadas pela última vez exatamente no horário especificado.

updatedBefore
string<date-time>

Retorne apenas tabelas atualizadas pela última vez antes do horário especificado.

Response

successful operation

results
object[]
required
total
integer<int32>
required

The total number of tables available in the collection.

paging
object