{
"componentGroups": [
{
"name": "test",
"gbacRead": [
"tempor laborum in amet consectetur",
"tempor laborum ea elit",
"Duis tempor ex esse"
],
"members": [
{
"path": [
"sint nostrud sunt",
"dolor do aliquip",
"proident dolore",
"sit consectetur nisi dolore",
"aliquip ad in occaecat labore"
],
"type": "folder"
},
{
"path": [
"esse dolore qui cillum",
"ullamco non",
"aliqua aute velit",
"officia est esse in culpa"
],
"type": "folder"
},
{
"path": "minim",
"type": "component",
"sourceCollection": "elit ex",
"ref": "voluptate"
}
],
"_id": "60FAAC0a48D371916b17fff3",
"version": 1
},
{
"name": "test",
"gbacRead": [
"eu occaecat dolor",
"pariatur magna",
"dolore",
"dolore proident laboris consectetur est",
"irure esse"
],
"members": [
{
"path": [
"cupidatat enim tempor pariatur eu",
"reprehenderit",
"elit Excepteur Ut ut commodo",
"aliqua",
"pariatur sunt"
],
"type": "folder"
},
{
"path": "in elit sunt dolor",
"type": "component",
"sourceCollection": "cillum irure eiusmod",
"ref": "qui laboris sed mollit consectetur"
}
],
"_id": "7622C9f2fcc0FA7DFF3ff14D",
"version": 1
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"componentGroups": {
"title": "componentGroups",
"description": "Array of component group documents to import. If '_id' is provided, it will be replaced with an autogenerated '_id'. If a component group's name is already used in the component groups collection, it will be renamed with a numeric suffix.",
"type": "array",
"items": {
"$ref": "componentGroupImport"
}
}
},
"required": [
"componentGroups"
],
"additionalProperties": false
}
{
"title": "response",
"type": "object",
"properties": {
"imported": {
"type": "array",
"items": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "Status flag denoting the success (true) or failure (false) of the component group's import operation."
},
"message": {
"type": "string",
"description": "Message containing either confirmation of the import operation or the reason for the failure of the import operation."
},
"original": {
"description": "The original component group given in the import array.",
"$ref": "componentGroupImport"
},
"created": {
"description": "The imported component group as it exists after being imported.",
"oneOf": [
{
"$ref": "componentGroup"
},
{
"type": "null"
}
]
},
"edit": {
"description": "URI to the edit page for the imported component group.",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"status",
"message",
"original",
"created",
"edit"
]
}
}
}
}