Hi guys,
I’m trying out Contentful currently and I’m a little baffled that the docs for import/export don’t explicitly show the file structure for importing content.
The docs say, somewhat unclearly:
Note that you also need to reference a JSON file that contains the exported content. The expected format is the same as the export format from the export tool above.
I assume that should say imported content rather than exported. But what does it mean about expected format being the same as the export format? Does that mean I need a file like this (total guess follows)?
{
"entries": [
{
"myContentTypeId": [
{
"field1Id": "foo",
"field2Id": "bar"
},
{
"field1Id": "foo 2",
"field2Id": "bar 2"
},
...
]
}
]
}
Any help appreciated,
Thanks