From c87cc8c8c8804bb11bea954f0dff7eba30af9985 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 1 Feb 2024 14:30:48 -0500 Subject: [PATCH] Just a discussion pasted from #1837 --- doc/design/paths-endpoint-webdav.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/design/paths-endpoint-webdav.md diff --git a/doc/design/paths-endpoint-webdav.md b/doc/design/paths-endpoint-webdav.md new file mode 100644 index 000000000..780544987 --- /dev/null +++ b/doc/design/paths-endpoint-webdav.md @@ -0,0 +1,21 @@ +# Discussion on metadata needed for dandidav + +Submitted as a PR to avoid spagetti thread discussion on https://github.com/dandi/dandi-archive/issues/1837#issuecomment-1921864949 + + +@jwodder listed needed properties and metadata fields: + +* Asset properties used by dandidav: + * `asset_id` + * `blob_id` + * `zarr_id` + * `path` + * `size` + * `created` + * `modified` + * Note: It might be more accurate to use the `blobDateModified` metadata field for this instead; cf. dandi/dandidav#17 + +* Asset metadata used by dandidav: + * `encodingFormat` (blobs only) + * `contentUrl` (API download URL for blobs, S3 URL for Zarrs) + * `digest["dandi:dandi-etag"]` (blobs only)