dandi / redirector

Apache License 2.0
0 stars 2 forks source link

@app.route("/dandiset/<dataset:int>/<version>/path", methods=["GET", "HEAD"]) #37

Open yarikoptic opened 3 years ago

yarikoptic commented 3 years ago

I guess in case of a new API it should be just a matter of a call to

/dandisets/{version__dandiset__pk}/versions/{version__version}/assets/paths/

first and then to

​/dandisets​/{version__dandiset__pk}​/versions​/{version__version}​/assets​/{uuid}​/

(for HEAD -- is there a need for a dedicated end point on django side?)