创建/替换一个

上传单个实体的模式。如果指定实体已经存在架构,则将被您上传的模式替换。

元数据合并行为

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

为用户配置文件添加模式

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

示例帖子主体

{“ $ schema”:“ http://json-schema.org/draft-07/schema”,“ description”:“当用户将项目添加到他们的购物车中时,已跟踪。,“ item_id”,“ item_price”],“ fromeproperties”:true,“ metadata”:{“ com.mixpanel”:{“ tags”:[“ shopping”,“ kpis”,“ kpis”],“ displayName”:“ item displayname”:“ item operated opperated opperated opperated”,“隐藏”:false,“ dropp”:false,“所有者”:[{“ name”:“ pat Davis”,“ email”:“”[电子邮件保护]“}]}},“ 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" } } } } } ```
验证
基本的
基础64
URL
点击试试看!要启动请求并在此处查看响应!