dandi / dandi/dandi-archive

add asset api url to paginated assets view

Open
#867 2 comments 0 reactions 0 assignees View on GitHub
DX enhancement
Dominant language
Python
Stars
26
Forks
21
Avg merge
4d 23h
Merged PRs (30d)
15

Description

with the manifest being added (#866), it would be nice if one could hop from that page into an asset without having to copy and paste uuids.

while one can use the uuid to get the assets (programmatically), it would be nice if the dandiset specific asset url was part of the response so that one could interactively navigate in the django interface.

url: "https://{api-server}/api/dandisets/{id}/versions/{version}/assets/{assetid}"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the paginated assets response and the manifest work in issue #866, then identify where asset records are assembled for the Django interface. Done means each asset includes its dandiset-specific URL in the response, using the format given in the issue, so users can navigate to it without copying a UUID.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
api, backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.