NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In your JSON file, if you want to update the metadata of the parent collection, also specify the metadata for the parent collection. Click the following link to view the syntax:

Panel
borderColorgrey#C0C0C0
borderStylesolid
Expand
titleSyntax
Code Block
{
    "metadataEntries": [
        {
         "attribute": "project",
         "value": "my-project-name"
        },
        {
         "attribute": "notes",
         "value": "my-project-notes"
        }
    ],
    "createParentCollections": true,
	"parentCollectionsBulkMetadataEntries": {
		"pathsMetadataEntries": [{
			"path": "/Example_Archive/PI_Lab1/Project_New",
			"pathMetadataEntries": [{
					"attribute": "collection_type",
					"value": "Folder"
				},
				{
					"attribute": "example info",
					"value": "123456"
				}]
		}]
	}
}