Skip to content

Commit

Permalink
Add facets API hook documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
suo committed Jun 9, 2015
1 parent 436a39c commit bef83c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bef83c2

Please sign in to comment.