Zum Hauptinhalt springen
GET
/
media-bridge
/
v1
/
{appId}
/
schemas
/
{objectType}
Obtenir le schéma d'un type d'objet
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"
}
Produits pris en charge
Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing HubGratuit
Sales HubSales HubGratuit
Service HubService HubGratuit
Content HubContent HubGratuit

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