Skip to content

Commit

Permalink
Merge pull request #156 from dandi/enh-cutpast
Browse files Browse the repository at this point in the history
Make example copy-pasteable by using "draft" instead of "_draft_" placeholder
  • Loading branch information
yarikoptic authored Aug 9, 2024
2 parents 0df3ae4 + 16c82ab commit e899e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/12_download.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ Names of the subjects can be found on DANDI web application or by running a comm
DANDI:000023`.
Once you have the subject ID, you can download the data, e.g.:

dandi download https://api.dandiarchive.org/api/dandisets/000023/versions/_draft_/assets/?path=sub-811677083
dandi download https://api.dandiarchive.org/api/dandisets/000023/versions/draft/assets/?path=sub-811677083

You should replace `_draft_` with a specific version you are interested in (e.g. `0.210914.1900` in the case of this Dandiset).
You could replace `draft` with a specific non-draft version you are interested in (e.g. `0.210914.1900` in the case of this Dandiset), if you are not interested in the latest, possibly different state of the Dandiset.

You can also use the link from DANDI web application, e.g.:

Expand Down

0 comments on commit e899e98

Please sign in to comment.