NIH | National Cancer Institute | NCI Wiki  

In your JSON file, if you want to create a parent collection for the data file you are registering (or update the metadata of a parent collection), also specify the metadata for the parent collection. Click the following link to view the syntax:  

{
    "metadataEntries": [
        {
         "attribute": "description",
         "value": "my-file-description"
        },
        {
         "attribute": "my-second-attribute-name",
         "value": "my-second-attribute-description"
        }
    ],
    "createParentCollections": true,
	"parentCollectionsBulkMetadataEntries": {
		"pathsMetadataEntries": [{
			"path": "/Example_Archive/PI_Lab1/Project_New",
			"pathMetadataEntries": [{
					"attribute": "collection_type",
					"value": "Folder"
				},
				{
					"attribute": "example info",
					"value": "123456"
				}]
		}]
	}
}
  • No labels