Skip to content

Commit 83671e8

Browse files
authored
Update dataaccess.rst
1 parent 7dbc6da commit 83671e8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/sphinx-guides/source/api/dataaccess.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ This method returns a list of Authenticated Users who have requested access to t
440440

441441
A curl example using an ``id``::
442442

443-
curl -H "X-Dataverse-key:$API_TOKEN" -X GET http://$SERVER/api/access/datafile/{id}/listRequests
443+
curl -H "X-Dataverse-key:$API_TOKEN" -X GET $SERVER/api/access/datafile/{id}/listRequests
444444

445445
Query parameters have been added to retrieve the historical list of "created", "granted", and "rejected" requests:
446446

@@ -455,7 +455,7 @@ If requesting a page before page 1 or requesting the number of items to be 0 or
455455

456456
A curl example using an ``id``::
457457

458-
curl -H "X-Dataverse-key:$API_TOKEN" -X GET "http://$SERVER/api/access/datafile/{id}/listRequests?includeHistory=true&start=1&per_page=20"
458+
curl -H "X-Dataverse-key:$API_TOKEN" -X GET "$SERVER/api/access/datafile/{id}/listRequests?includeHistory=true&start=1&per_page=20"
459459

460460
User Has Requested Access to a File:
461461
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -466,7 +466,7 @@ This method returns true or false depending on whether or not the calling user h
466466

467467
A curl example using an ``id``::
468468

469-
curl -H "X-Dataverse-key:$API_TOKEN" -X GET "http://$SERVER/api/access/datafile/{id}/userFileAccessRequested"
469+
curl -H "X-Dataverse-key:$API_TOKEN" -X GET "$SERVER/api/access/datafile/{id}/userFileAccessRequested"
470470

471471

472472
Get User Permissions on a File:

0 commit comments

Comments
 (0)