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
@@ -8854,51 +8854,58 @@ Note that this API is probably only useful for testing.
8854
8854
MyData
8855
8855
------
8856
8856
8857
-
The MyData API is used to get a list of just the datasets, dataverses or datafiles an authenticated user can edit.
8857
+
The MyData API is used to get a list of just the datasets, collections (dataverses), or datafiles an authenticated user has a role on.
8858
8858
8859
-
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.
8859
+
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:
8877
-
8878
-
- ``1`` = Admin
8879
-
- ``2`` = File Downloader
8880
-
- ``3`` = Dataverse + Dataset Creator
8881
-
- ``4`` = Dataverse Creator
8882
-
- ``5`` = Dataset Creator
8883
-
- ``6`` = Contributor
8884
-
- ``7`` = Curator
8885
-
- ``8`` = Member
8886
-
8887
-
``dvobject_types`` Type of object, several possible values among: ``DataFile`` , ``Dataset`` & ``Dataverse`` .
8888
-
8889
-
``published_states`` State of the object, several possible values among:``Published`` , ``Unpublished`` , ``Draft`` , ``Deaccessioned`` & ``In+Review`` .
8890
-
8891
-
``per_page`` Number of results returned per page.
8892
-
8893
-
``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.
8877
+
The fully expanded example above (without environment variables) looks like this:
8894
8878
8895
-
``show_collections`` Whether or not to include a list of parent and linked collections for each dataset search result.
8879
+
.. code-block:: bash
8896
8880
8897
-
``sort`` The sort field. Supported values include "name", "date" and "relevance".
0 commit comments