You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/api/native-api.rst
+38-31Lines changed: 38 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8852,51 +8852,58 @@ Note that this API is probably only useful for testing.
8852
8852
MyData
8853
8853
------
8854
8854
8855
-
The MyData API is used to get a list of just the datasets, dataverses or datafiles an authenticated user can edit.
8855
+
The MyData API is used to get a list of just the datasets, collections (dataverses), or datafiles an authenticated user has a role on.
8856
8856
8857
-
The API excludes dataverses linked to an harvesting client. This results in `a known issue <https://github.com/IQSS/dataverse/issues/11083>`_ where regular datasets in harvesting dataverses are missing from the results.
8857
+
The API excludes collections linked to an harvesting client. This results in `a known issue <https://github.com/IQSS/dataverse/issues/11083>`_ where regular datasets in harvesting collections are missing from the results.
``role_id`` Roles are customizable. Standard roles include:
8875
-
8876
-
- ``1`` = Admin
8877
-
- ``2`` = File Downloader
8878
-
- ``3`` = Dataverse + Dataset Creator
8879
-
- ``4`` = Dataverse Creator
8880
-
- ``5`` = Dataset Creator
8881
-
- ``6`` = Contributor
8882
-
- ``7`` = Curator
8883
-
- ``8`` = Member
8884
-
8885
-
``dvobject_types`` Type of object, several possible values among: ``DataFile`` , ``Dataset`` & ``Dataverse`` .
8886
-
8887
-
``published_states`` State of the object, several possible values among:``Published`` , ``Unpublished`` , ``Draft`` , ``Deaccessioned`` & ``In+Review`` .
8888
-
8889
-
``per_page`` Number of results returned per page.
8890
-
8891
-
``metadata_fields`` Includes the requested fields for each dataset in the response. Multiple "metadata_fields" parameters can be used to include several fields. See :doc:`search` for further information on this parameter.
8875
+
The fully expanded example above (without environment variables) looks like this:
8892
8876
8893
-
``show_collections`` Whether or not to include a list of parent and linked collections for each dataset search result.
8877
+
.. code-block:: bash
8894
8878
8895
-
``sort`` The sort field. Supported values include "name", "date" and "relevance".
0 commit comments