创建/替换多个

将模式批量上传到指定项目。如果指定实体已经存在架构,则将被您上传的模式替换。

元数据合并行为

如果缺少新模式元数据当前在该实体的现有架构中设置的属性,这些属性将合并到新的架构中。例如,如果您当前的模式有{“ metadata”:{“ com.mixpanel”:{“ hidden”:true}}}}}您上传了一个没有“隐藏”的新模式,我们将合并“隐藏”:正确到您上传的模式的元数据。如果要删除该属性,请将值设置为无效的

为用户配置文件添加模式

为您添加模式用户配置文件,指定实体类型作为轮廓姓名作为$用户

示例帖子主体

{“ entries”:[{“ entityType”:“ event”,“ name”:“添加到购物车”,“ schemajson”:{“ $ schema”:“ http://json-schema.org/draft-07/架构“,” description“:”用户将项目添加到其购物车中时跟踪。“ com.mixpanel”:{“ tags”:[“ shopp”,“ kpis”],“ displayName”:“购买”,“隐藏”:false,“ dropped”:false,“ landers”:[{{“ name)”:“帕特·戴维斯”,“电子邮件”:”[电子邮件保护]“}]}},“ properties”:{“ item_name”:{“ type”:“ string”,“ description”:“ item”的名称,“示例”:[“ blue widget”],“ metadata”:{ "com.mixpanel": { "displayName": "Item Name" } } }, "item_id": { "type": "integer", "description": "The internal id of the item", "examples": [ 12345 ], "metadata": { "com.mixpanel": { "displayName": "Item ID" } } }, "item_price": { "type": "number", "description": "The current price of the item", "examples": [ 25.35 ], "metadata": { "com.mixpanel": { "displayName": "Price" } } }, "promo_id": { "type": "integer", "description": "The id of any promo in progress for this item", "examples": [ 82523, 18382 ], "metadata": { "com.mixpanel": { "displayName": "Promo ID" } } }, "date_added_to_catalog": { "type": "string", "format": "date-time", "description": "The date this item was added to the store catalog", "examples": [ "2015-03-05T15:25:23" ], "metadata": { "com.mixpanel": { "displayName": "Date Added" } } } } } } ], "truncate": false } ```
验证
基本的
基础64
URL
点击试试看!要启动请求并在此处查看响应!