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)