You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the /objects/{object_id} endpoint is only configured to load a DRSObject representing a single blob. This functionality should be expanded to handle bundles. In a local filesystem context, files map to DRSObject single blobs, whereas directories map to DRSObject bundles. For a given id mapping to a directory, the server app must traverse all subdirectories to all files, and format this as a DRSObject bundle.
This will likely lead to a revamp of our current data source registration model, as the current lookup based on regex has no mechanism to give the correct id for a file under a requested bundle
The text was updated successfully, but these errors were encountered:
jb-adams
changed the title
Object endpoint for DRS bundles
Object endpoint for DRS bundles - local directories as bundles
Jan 26, 2021
Currently, the
/objects/{object_id}
endpoint is only configured to load a DRSObject representing a single blob. This functionality should be expanded to handle bundles. In a local filesystem context, files map to DRSObject single blobs, whereas directories map to DRSObject bundles. For a given id mapping to a directory, the server app must traverse all subdirectories to all files, and format this as aDRSObject
bundle.This will likely lead to a revamp of our current data source registration model, as the current lookup based on regex has no mechanism to give the correct id for a file under a requested bundle
The text was updated successfully, but these errors were encountered: