File tree Expand file tree Collapse file tree
doc/sphinx-guides/source/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ This method returns a list of Authenticated Users who have requested access to t
440440
441441A 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
445445Query 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
456456A 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
460460User 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
467467A 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
472472Get User Permissions on a File:
You can’t perform that action at this time.
0 commit comments