Skip to content

Commit

Permalink
Added: fully expanded canDownloadAtLeastOneFile API call example to n…
Browse files Browse the repository at this point in the history
…ative API docs
  • Loading branch information
GPortas committed Dec 15, 2023
1 parent bfe6a6d commit 7ece3a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/sphinx-guides/source/api/native-api.rst
Expand Up @@ -2699,6 +2699,11 @@ This API endpoint indicates if the calling user can download at least one file f
curl -H "X-Dataverse-key: $API_TOKEN" -X GET "$SERVER_URL/api/datasets/$ID/versions/$VERSION/canDownloadAtLeastOneFile"
The fully expanded example above (without environment variables) looks like this:
.. code-block:: bash
curl -H "X-Dataverse-key:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" "https://demo.dataverse.org/api/datasets/24/versions/1.0/canDownloadAtLeastOneFile"
Files
-----
Expand Down

0 comments on commit 7ece3a4

Please sign in to comment.