dandi / dandi-archive

DANDI API server and Web app
https://dandiarchive.org
13 stars 13 forks source link

provide blob_id within asset record? #264

Closed yarikoptic closed 3 years ago

yarikoptic commented 3 years ago

replying to @bendichter I realized that we do not anyhow return a blob_id associated with the asset whenever listing assets. metadata should not have it I guess because it is dandi archive specific id. But shouldn't we return it along side with path etc?

I am thinking -- probably not ;) because "what for"? if someone needs access to the content, they have contentUrls to go by. If we expose it for the purpose of finding the blob in S3 -- user would need to construct full path in blob store, which is IMHO should not be encouraged etc.

Decided to file this "question" regardless. @satra WDYT?

bendichter commented 3 years ago

What do you mean by contentUrls. I am trying to create a platform that can explore files in a dandiset and stream from them.

waxlamp commented 3 years ago

@yarikoptic or @bendichter, could you provide some context for this? I am not sure what the question or problem is.

satra commented 3 years ago

I am thinking -- probably not

i agree :)

yarikoptic commented 3 years ago

@yarikoptic or @bendichter, could you provide some context for this? I am not sure what the question or problem is.

Access to assets via direct URLs on S3 via ros3 driver

Since there seems agreement that no need to be disclosed, closing