Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Jun 15, 2023
1 parent dd69bc7 commit 9007788
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/source/ref/urls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,9 @@ has one, and its draft version will be used otherwise.
a collection of assets whose paths match the glob pattern ``path``, and
`parse_dandi_url()` will convert the URL to an `AssetGlobURL`.

- If the ``glob``/``--path-type glob`` option is not in effect and ``path``
ends with a trailing slash, the URL refers to an asset folder by path, and
`parse_dandi_url()` will convert the URL to an `AssetFolderURL`.

- If the ``glob``/``--path-type glob`` option is not in effect and ``path``
does not end with a trailing slash, the URL refers to a single asset by
path, and `parse_dandi_url()` will convert the URL to an `AssetItemURL`.
- If the ``glob``/``--path-type glob`` option is not in effect, the URL
refers to an asset folder by path, and `parse_dandi_url()` will convert the
URL to an `AssetFolderURL`.

- :samp:`https://{server}[/api]/dandisets/{dandiset-id}[/versions[/{version}]]`
— Refers to a Dandiset. `parse_dandi_url()` converts this format to a
Expand Down

0 comments on commit 9007788

Please sign in to comment.