diff --git a/doc/sphinx-guides/source/api/native-api.rst b/doc/sphinx-guides/source/api/native-api.rst index 279e4e01310..25f84368e27 100644 --- a/doc/sphinx-guides/source/api/native-api.rst +++ b/doc/sphinx-guides/source/api/native-api.rst @@ -33,6 +33,10 @@ All the roles defined directly in the dataverse identified by ``id``:: GET http://$SERVER/api/dataverses/$id/roles?key=$apiKey +List all the facets for a given dataverse ``id``. :: + + GET http://$SERVER/api/dataverses/$id/facets?key=$apiKey + Creates a new role under dataverse ``id``. Needs a json file with the role description:: POST http://$SERVER/api/dataverses/$id/roles?key=$apiKey