Commit d395f8b7 authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '8-rename-endpoit-v1-1-to-v2' into 'master'

Resolve "Rename endpoit v1-1 to v2"

Closes #8

See merge request !10
parents 91bf9ed8 1bfdf171
......@@ -30,8 +30,8 @@ The endpoint defines the rest-api, where the widget fetches the links. Currently
* Tagcloud https://api.tagcloud.histhub.ch/v1/sameas/
* Geolinker https://api.geolinker.histhub.ch/v1/sameas/
* Geolinker https://api.geolinker.histhub.ch/v1/similarto/
* Geolinker https://api.geolinker.histhub.ch/v1-1/sameas/ (newer apis)
* Geolinker https://api.geolinker.histhub.ch/v1-1/similarto/ (newer apis)
* Geolinker https://api.geolinker.histhub.ch/v2/sameas/ (newer apis)
* Geolinker https://api.geolinker.histhub.ch/v2/similarto/ (newer apis)
* Orgalinker https://api.orgalinker.histhub.ch/v1/sameas/
Choose one of the endpoints to get links for your resource
......
......@@ -67,27 +67,27 @@
<histhub-widget endpoint="//api.orgalinker.histhub.ch/v1/sameas/" resolver="resolvermanual" location="https://dodis.ch/R20">
<h3 slot="title">Example 2: Links from orgalinker dodis: Lombard, Odier & Cie</h3>
</histhub-widget>
<histhub-widget endpoint="//api.geolinker.histhub.ch/v1-1/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82">
<histhub-widget endpoint="//api.geolinker.histhub.ch/v2/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82">
<h3 slot="title">Example 3: Links (sameas) from geolinker dodis: Diedenhofen</h3>
</histhub-widget>
<histhub-widget endpoint="//api.geolinker.histhub.ch/v1-1/similarto/" resolver="resolverelasticsearch" location="https://dodis.ch/G82">
<histhub-widget endpoint="//api.geolinker.histhub.ch/v2/similarto/" resolver="resolverelasticsearch" location="https://dodis.ch/G82">
<h3 slot="title">Example 4: Links (similarto) from geolinker dodis: Diedenhofen</h3>
</histhub-widget>
<histhub-widget endpoint="//api.geolinker.histhub.ch/v1-1/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82000000000000">
<histhub-widget endpoint="//api.geolinker.histhub.ch/v2/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82000000000000">
<h3 slot="title">Example 5: No links (sameas) from geolinker (will be hidden)</h3>
</histhub-widget>
<histhub-widget endpoint="//api.geolinker.histhub.ch/v1-1/similarto/" resolver="resolverelasticsearch" location="https://dodis.ch/G82">
<histhub-widget endpoint="//api.geolinker.histhub.ch/v2/similarto/" resolver="resolverelasticsearch" location="https://dodis.ch/G82">
<h3 slot="title" id="custom-title-color">Example 6: Links (similarto) from geolinker dodis: Diedenhofen and custom title color</h3>
</histhub-widget>
<histhub-widget endpoint="//api.geolinker.histhub.ch/v1-1/similarto/" resolver="resolverelasticsearch" location="https://dodis.ch/G82" language="fr" timeout="50000">
<histhub-widget endpoint="//api.geolinker.histhub.ch/v2/similarto/" resolver="resolverelasticsearch" location="https://dodis.ch/G82" language="fr" timeout="50000">
<h3 slot="title">Example 7: Links (similarto) from geolinker dodis: Diedenhofen</h3>
Additional comment
</histhub-widget>
<histhub-widget endpoint="//api.geolinker.histhub.ch/v1-1/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82" template="demo-template">
<histhub-widget endpoint="//api.geolinker.histhub.ch/v2/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82" template="demo-template">
</histhub-widget>
<histhub-widget id="vars" endpoint="//api.geolinker.histhub.ch/v1-1/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82">
<histhub-widget id="vars" endpoint="//api.geolinker.histhub.ch/v2/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82">
</histhub-widget>
<histhub-widget endpoint="//api.geolinker.histhub.ch/v1-1/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82">
<histhub-widget endpoint="//api.geolinker.histhub.ch/v2/sameas/" resolver="resolverneo4j" location="https://dodis.ch/G82">
<h3 slot="title">Example 10: Links (similarto) from geolinker dodis: Diedenhofen with credits</h3>
<p slot="credits">Example credits</p>
</histhub-widget>
......
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