我有两个内容空间 QATesting 和 Development 。我在开发中创建了3个新的内容模型和内容。新模型的名称及其内容类型ID为User Care Tips (userCareTips)
,User FAQ (userFAQ)
和User Demo (userDemo)
。我还向他们添加了一些条目,它还包含图像和视频资产。现在,我试图将这3个模型及其内容移至我的空间 QATesting
我已经检查了教程链接here并已安装内容丰富。现在尝试导出和导入。以下是我为导出而创建的example.json
文件
{
"spaceId": "Development Space Id",
"managementToken": "Development access token",
"contentTypes": ["userCareTips","userFAQ", "userDemo"],
"entries": [],
"assets": [],
"locales": [],
"webhooks": [],
"roles": [],
"editorInterfaces": []
}
当我运行以下命令导出时,出现错误。
未知参数:contentTypes,条目,资产,语言环境,webhooks, 角色,editorInterfaces
contentful space export --config example.json
我是新手,有谁可以指导我如何实现这一目标。