Skip to content

Commit 3e5bba0

Browse files
authored
Merge pull request #12473 from IQSS/12472-api-changelog-per-12319
Documenting auth. change for /access/datafile/.../userPermissions API
2 parents 259b4ab + 396b1cc commit 3e5bba0

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ v6.11
1717

1818
- **/api/datasets/{Id}/submitForReview**
1919

20+
- The ``GET /api/access/datafile/{id}/userPermissions`` endpoint now requires authentication.
2021
- The Croissant :ref:`metadata export format <metadata-export-formats>` has been updated from version 1.0 to 1.1, which is reflected in the ``conformsTo`` property. The unused ``wd`` property has been dropped.
2122

2223
v6.10

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ Get User Permissions on a File:
494494

495495
``/api/access/datafile/{id}/userPermissions``
496496

497-
This method returns the permissions that the calling user has on a particular file.
497+
This method returns the permissions that the calling user has on a particular file.
498498

499499
In particular, the user permissions that this method checks, returned as booleans, are the following:
500500

@@ -505,3 +505,5 @@ In particular, the user permissions that this method checks, returned as boolean
505505
A curl example using an ``id``::
506506

507507
curl -H "X-Dataverse-key:$API_TOKEN" -X GET "http://$SERVER/api/access/datafile/{id}/userPermissions"
508+
509+
Authentication is required for this API.

0 commit comments

Comments
 (0)