{
"componentGroups": [
{
"name": "test",
"gbacRead": [
"eiusmod dolore non dolor",
"in esse velit sint mollit",
"aliqua et Duis",
"ut veniam sed amet"
],
"members": [],
"_id": "8A585ee769c3d69Cd7dEcfcE",
"version": 1
},
{
"name": "test",
"gbacRead": [
"nisi dolore ut officia",
"consequat cupidatat",
"in veniam qui commodo ipsum"
],
"members": [],
"_id": "001A4ecfb66001c8a7B0Ed9d",
"version": 1
},
{
"name": "test",
"gbacRead": [
"laborum non est laboris",
"consectetur ea",
"dolore exercitation non ea dolor",
"in quis aliqua"
],
"members": [],
"_id": "3F47c2CFAe7C8ebA8aa8f77C",
"version": 1
},
{
"name": "test",
"gbacRead": [
"nulla",
"aliqua laborum",
"in ex"
],
"members": [],
"_id": "CDff8A961ed79cA8A3B3f0Ee",
"version": 1
},
{
"name": "test",
"gbacRead": [
"mollit",
"magna cupidatat in",
"in elit veniam nisi",
"dolore ea mollit"
],
"members": [],
"_id": "cc615fF0b46Bb4404f031Cba",
"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.",
"type": [
"string",
"null"
]
}
},
"required": [
"status",
"message",
"original",
"created",
"edit"
]
}
}
}
}