Commit 27d545b1 authored by Sean Hammond's avatar Sean Hammond Committed by GitHub

Merge pull request #450 from hypothesis/update-apiurl-doc

Update docs to mandatory apiUrl field in the service.
parents 0fbe2470 94584bb2
......@@ -102,6 +102,7 @@ loads.
window.hypothesisConfig = function () {
return {
services: [{
apiUrl: 'https://hypothes.is/api',
authority: 'partner.org',
grantToken: '***',
icon: 'https://openclipart.org/download/272629/sihouette-animaux-10.svg'
......@@ -126,6 +127,10 @@ loads.
Each item in the :option:`services` array should be an object describing an
annotation service, with the following keys:
.. option:: apiUrl
``String``. The base URL of the service API.
.. option:: authority
``String``. The domain name which the annotation service is associated with.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment