From bef83c22554414278d6cfd209d5d2ff359e147a9 Mon Sep 17 00:00:00 2001 From: Michael Suo Date: Tue, 9 Jun 2015 12:58:29 -0400 Subject: [PATCH] Add facets API hook documentation --- doc/sphinx-guides/source/api/native-api.rst | 4 ++++ 1 file changed, 4 insertions(+) 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