Pular para o conteúdo principal
GET
/
cms
/
v3
/
hubdb
/
tables
/
{tableIdOrName}
/
rows
/
{rowId}
/
draft
Obter uma linha a partir da tabela de rascunho
curl --request GET \
  --url https://api.hubapi.com/cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId}/draft \
  --header 'Authorization: Bearer <token>'
{
  "childTableId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "publishedAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "values": {}
}

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.

Path Parameters

rowId
string
required

O ID da linha

tableIdOrName
string
required

O ID ou nome da tabela

Query Parameters

archived
boolean

Defina como "true" para retornar uma linha arquivada. O padrão é "false".

Response

successful operation

childTableId
string
required

Especifica o valor para a coluna de ID da tabela secundária

createdAt
string<date-time>
required

A data e hora em que a linha foi criada

id
string
required

O ID da linha da tabela

name
string
required

Especifica o valor para a coluna "hs_name", que será usado como título nas páginas dinâmicas

path
string
required

Especifica o valor para a coluna "hs_path", que será usado como slug nas páginas dinâmicas

publishedAt
string<date-time>
required

The timestamp indicating when the row was last published, in date-time format.

updatedAt
string<date-time>
required

A data e hora em que a linha foi atualizada pela última vez

values
object
required

Lista de pares chave-valor com o nome da coluna e o valor da coluna