curl --request GET \
--url https://api.hubapi.com/media-bridge/v1/{appId}/schemas
{
"results": [
{
"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"
}
]
}
Obtenir les schémas de tous les types d’objets.
curl --request GET \
--url https://api.hubapi.com/media-bridge/v1/{appId}/schemas
{
"results": [
{
"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"
}
]
}
successful operation
The response is of type object
.