Zum Hauptinhalt springen
GET
/
media-bridge
/
v1
/
{appId}
/
schemas
/
{objectType}
Obter o esquema para um tipo de objeto
curl --request GET \
  --url https://api.hubapi.com/media-bridge/v1/{appId}/schemas/{objectType}
{
  "associations": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "fromObjectTypeId": "",
      "name": "",
      "id": "",
      "toObjectTypeId": "",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "secondaryDisplayProperties": [
    "<string>"
  ],
  "createdByUserId": 123,
  "objectTypeId": "<string>",
  "description": "<string>",
  "updatedByUserId": 123,
  "allowsSensitiveProperties": true,
  "fullyQualifiedName": "<string>",
  "labels": {
    "plural": "<string>",
    "singular": "<string>"
  },
  "archived": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "requiredProperties": [
    "<string>"
  ],
  "searchableProperties": [
    "<string>"
  ],
  "primaryDisplayProperty": "<string>",
  "name": "<string>",
  "id": "<string>",
  "properties": [
    {
      "hidden": true,
      "displayOrder": 123,
      "description": "<string>",
      "showCurrencySymbol": true,
      "type": "<string>",
      "hubspotDefined": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "archived": true,
      "options": [
        {
          "hidden": true,
          "displayOrder": 123,
          "description": "<string>",
          "label": "<string>",
          "value": "<string>"
        }
      ],
      "hasUniqueValue": true,
      "calculated": true,
      "externalOptions": true,
      "dateDisplayHint": "absolute",
      "updatedAt": "2023-11-07T05:31:56Z",
      "createdUserId": "<string>",
      "modificationMetadata": {
        "readOnlyOptions": true,
        "readOnlyValue": true,
        "readOnlyDefinition": true,
        "archivable": true
      },
      "sensitiveDataCategories": [
        "<string>"
      ],
      "label": "<string>",
      "formField": true,
      "dataSensitivity": "non_sensitive",
      "archivedAt": "2023-11-07T05:31:56Z",
      "groupName": "<string>",
      "referencedObjectType": "<string>",
      "name": "<string>",
      "calculationFormula": "<string>",
      "fieldType": "<string>",
      "updatedUserId": "<string>"
    }
  ],
  "updatedAt": "2023-11-07T05:31:56Z"
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubGrátis
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubGrátis

Authorizations

hapikey
string
query
required

Path Parameters

appId
string
required
objectType
string
required

Response

successful operation

associations
object[]
required
secondaryDisplayProperties
string[]
required
objectTypeId
string
required
allowsSensitiveProperties
boolean
required
fullyQualifiedName
string
required
labels
object
required
archived
boolean
required
requiredProperties
string[]
required
searchableProperties
string[]
required
name
string
required
id
string
required
properties
object[]
required
createdByUserId
integer
description
string
updatedByUserId
integer
createdAt
string<date-time>
primaryDisplayProperty
string
updatedAt
string<date-time>
I