NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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