curl --request GET \
--url 'https://api.hubapi.com/media-bridge/v1/{appId}/settings/object-definitions/{mediaType}?hapikey='{
"objectTypeId": "<string>",
"objectTypeName": "<string>",
"properties": [
{
"objectTypeId": "<string>",
"property": {
"allowedObjectTypes": [
{
"innerId": 123,
"metaTypeId": 123
}
],
"calculated": true,
"canArchive": true,
"canRestore": true,
"createdAt": 123,
"createdUserId": 123,
"currencyPropertyName": "<string>",
"dataSensitivity": "high",
"dateDisplayHint": "absolute",
"deleted": true,
"description": "<string>",
"displayMode": "all_unique_versions",
"displayOrder": 123,
"enforceMultivalueUniqueness": true,
"externalOptions": true,
"externalOptionsReferenceType": "<string>",
"favorited": true,
"favoritedOrder": 123,
"fieldType": "<string>",
"formField": true,
"fromUserId": 123,
"groupName": "<string>",
"hasUniqueValue": true,
"hidden": false,
"hubspotDefined": true,
"isCustomizedDefault": true,
"isMultiValued": true,
"isPartial": true,
"label": "<string>",
"mutableDefinitionNotDeletable": true,
"name": "<string>",
"numberDisplayHint": "currency",
"optionSortStrategy": "ALPHABETICAL",
"options": [
{
"description": "<string>",
"displayOrder": 123,
"doubleData": 123,
"hidden": true,
"label": "<string>",
"readOnly": true,
"value": "<string>"
}
],
"optionsAreMutable": true,
"owningAppId": 123,
"portalId": 123,
"readOnlyDefinition": true,
"readOnlyValue": true,
"referencedObjectType": "ABANDONED_CART",
"searchTextAnalysisMode": "NONE",
"searchableInGlobalSearch": true,
"sensitiveDataCategories": [
"<string>"
],
"showCurrencySymbol": true,
"textDisplayHint": "domain_name",
"type": "bool",
"updatedAt": 123
},
"calculationExpression": {
"operator": "CONSTANT_BOOLEAN",
"propertyName": "<string>",
"value": true
},
"calculationFormula": "<string>",
"externalOptionsMetaData": {
"relatedObjectTypeId": "<string>"
},
"fulcrumPortalId": 123,
"fulcrumTimestamp": 123,
"janusGroup": "<string>"
}
],
"propertyGroups": [
{
"displayName": "<string>",
"displayOrder": 123,
"fulcrumPortalId": 123,
"fulcrumTimestamp": 123,
"hubspotDefined": true,
"name": "<string>"
}
]
}指定したメディアタイプに属する既存のオブジェクトタイプを取得します。
curl --request GET \
--url 'https://api.hubapi.com/media-bridge/v1/{appId}/settings/object-definitions/{mediaType}?hapikey='{
"objectTypeId": "<string>",
"objectTypeName": "<string>",
"properties": [
{
"objectTypeId": "<string>",
"property": {
"allowedObjectTypes": [
{
"innerId": 123,
"metaTypeId": 123
}
],
"calculated": true,
"canArchive": true,
"canRestore": true,
"createdAt": 123,
"createdUserId": 123,
"currencyPropertyName": "<string>",
"dataSensitivity": "high",
"dateDisplayHint": "absolute",
"deleted": true,
"description": "<string>",
"displayMode": "all_unique_versions",
"displayOrder": 123,
"enforceMultivalueUniqueness": true,
"externalOptions": true,
"externalOptionsReferenceType": "<string>",
"favorited": true,
"favoritedOrder": 123,
"fieldType": "<string>",
"formField": true,
"fromUserId": 123,
"groupName": "<string>",
"hasUniqueValue": true,
"hidden": false,
"hubspotDefined": true,
"isCustomizedDefault": true,
"isMultiValued": true,
"isPartial": true,
"label": "<string>",
"mutableDefinitionNotDeletable": true,
"name": "<string>",
"numberDisplayHint": "currency",
"optionSortStrategy": "ALPHABETICAL",
"options": [
{
"description": "<string>",
"displayOrder": 123,
"doubleData": 123,
"hidden": true,
"label": "<string>",
"readOnly": true,
"value": "<string>"
}
],
"optionsAreMutable": true,
"owningAppId": 123,
"portalId": 123,
"readOnlyDefinition": true,
"readOnlyValue": true,
"referencedObjectType": "ABANDONED_CART",
"searchTextAnalysisMode": "NONE",
"searchableInGlobalSearch": true,
"sensitiveDataCategories": [
"<string>"
],
"showCurrencySymbol": true,
"textDisplayHint": "domain_name",
"type": "bool",
"updatedAt": 123
},
"calculationExpression": {
"operator": "CONSTANT_BOOLEAN",
"propertyName": "<string>",
"value": true
},
"calculationFormula": "<string>",
"externalOptionsMetaData": {
"relatedObjectTypeId": "<string>"
},
"fulcrumPortalId": 123,
"fulcrumTimestamp": 123,
"janusGroup": "<string>"
}
],
"propertyGroups": [
{
"displayName": "<string>",
"displayOrder": 123,
"fulcrumPortalId": 123,
"fulcrumTimestamp": 123,
"hubspotDefined": true,
"name": "<string>"
}
]
}メディアブリッジアプリのappId。メディアブリッジを使用する開発者アカウント内に複数のアプリを持つことが可能です。
オブジェクトタイプを取得するメディアのタイプ。
AUDIO, DOCUMENT, IMAGE, OTHER, VIDEO レスポンスには完全な定義を含めます。