Creates a ChRISEmbeddedResourceGroup for a specific asset type (files, links, dirs).
This function encapsulates the logic from FileController.handler_create.
Parameters
assetName: string
The type of asset ('files', 'links', 'dirs').
Optionalpath: string
Optional ChRIS path. Defaults to current folder context.
Creates a ChRISEmbeddedResourceGroup for a specific asset type (files, links, dirs). This function encapsulates the logic from
FileController.handler_create.