NIH | National Cancer Institute | NCI Wiki  

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:

{
    "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"
				}]
		}]
	}
}
  • No labels