qa_server 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/views/qa_server/usage/index.html.erb +7 -7
- data/lib/qa_server/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e792dea279d178c3076c5f8296627fa9e2e1060
|
|
4
|
+
data.tar.gz: efb885115f6769b6081c69782250e4862b90cc85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 360154f3f5d1c07b8ec5b2fdf85da23f76d6c2a152e47bb7c7d9988a157bb53a0fd55a074c3f93ca2d3017e3fd08e7c4a7b6e75d4e81e7f3359266f943d79847
|
|
7
|
+
data.tar.gz: 265a077311e071795d4962bf75b928cc9f8f27f1da150ce097edd8da229e8a4ca5c97387fe76a4ed4b082b9f88aee5514d15bb769c957c15b8bad304dc6031b4
|
data/CHANGELOG.md
CHANGED
|
@@ -51,31 +51,31 @@
|
|
|
51
51
|
]</pre>
|
|
52
52
|
|
|
53
53
|
<hr>
|
|
54
|
-
<h3>To
|
|
54
|
+
<h3>To retrieve a single term:</h3>
|
|
55
55
|
|
|
56
56
|
<p>The data after the authority name is required and should be the URI or the ID of the term being retrieved.
|
|
57
57
|
Which value to use depends on the authority configuration. All other parameters are optional. Some
|
|
58
58
|
authorities support different optional parameters, but attempts were made to keep optional parameter names
|
|
59
59
|
consistent between authorities.</p>
|
|
60
60
|
|
|
61
|
-
<h4>
|
|
62
|
-
<pre><%= QaServer::Engine.qa_engine_mount %>/
|
|
61
|
+
<h4>Retrieve Term by URI</h4>
|
|
62
|
+
<pre><%= QaServer::Engine.qa_engine_mount %>/fetch/linked_data/locnames_ld4l_cache?uri=http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188</pre>
|
|
63
63
|
<p><b><%= t('qa_server.warning.chrome_unencoding_msg') %></b></p>
|
|
64
64
|
|
|
65
65
|
where,
|
|
66
66
|
<ul>
|
|
67
|
-
<li>
|
|
67
|
+
<li>fetch (required) - indicates this is retrieves a single term by URI</li>
|
|
68
68
|
<li>locnames_ld4l_cache (required) - the name of the authority</li>
|
|
69
|
-
<li>http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188 (required) - the encoded uri of the term to fetch</li>
|
|
69
|
+
<li>uri=http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188 (required) - the encoded uri of the term to fetch</li>
|
|
70
70
|
<li>lang=en (optional) - if the authority returns language encoded literals, results will be filtered for the specified language</li>
|
|
71
71
|
</ul>
|
|
72
72
|
|
|
73
|
-
<h4>
|
|
73
|
+
<h4>Retrieve Term by ID</h4>
|
|
74
74
|
<pre><%= QaServer::Engine.qa_engine_mount %>/show/linked_data/oclcfast_ld4l_cache/1914919?lang=en</pre>
|
|
75
75
|
|
|
76
76
|
where,
|
|
77
77
|
<ul>
|
|
78
|
-
<li>show (required) - indicates this
|
|
78
|
+
<li>show (required) - indicates this retrieves a single term by ID</li>
|
|
79
79
|
<li>oclcfast_ld4l_cache (required) - the name of the authority</li>
|
|
80
80
|
<li>1914919 (required) - the id of the term to fetch</li>
|
|
81
81
|
<li>lang=en (optional) - if the authority returns language encoded literals, results will be filtered for the specified language
|
data/lib/qa_server/version.rb
CHANGED