Add notes for 2023-10-13

This commit is contained in:
2023-10-13 17:17:41 +03:00
parent 8d39fc7d71
commit 7e3a7951d6
33 changed files with 86 additions and 42 deletions

View File

@ -18,7 +18,7 @@ I want to try to expand my use of their data to journals, publishers, volumes, i
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2023-02/" />
<meta property="article:published_time" content="2023-02-01T10:57:36+03:00" />
<meta property="article:modified_time" content="2023-03-01T08:30:25+03:00" />
<meta property="article:modified_time" content="2023-10-08T22:04:41+03:00" />
@ -42,9 +42,9 @@ I want to try to expand my use of their data to journals, publishers, volumes, i
"@type": "BlogPosting",
"headline": "February, 2023",
"url": "https://alanorth.github.io/cgspace-notes/2023-02/",
"wordCount": "3087",
"wordCount": "3088",
"datePublished": "2023-02-01T10:57:36+03:00",
"dateModified": "2023-03-01T08:30:25+03:00",
"dateModified": "2023-10-08T22:04:41+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -172,7 +172,7 @@ I want to try to expand my use of their data to journals, publishers, volumes, i
</span></span></code></pre></div><ul>
<li>He also noticed that there is no pagination on POST requests to <code>/rest/items/find-by-metadata-field</code>, and that he needs to increase his timeout for requests that return 100+ results, ie:</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>curl -f -H &#34;Content-Type: application/json&#34; -X POST &#34;https://dspacetest.cgiar.org/rest/items/find-by-metadata-field&#34; -d &#39;{&#34;key&#34;:&#34;cg.subject.actionArea&#34;, &#34;value&#34;:&#34;Systems Transformation&#34;, &#34;language&#34;: &#34;en_US&#34;}&#39;
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>$ curl -f -H <span style="color:#e6db74">&#34;Content-Type: application/json&#34;</span> -X POST <span style="color:#e6db74">&#34;https://dspacetest.cgiar.org/rest/items/find-by-metadata-field&#34;</span> -d <span style="color:#e6db74">&#39;{&#34;key&#34;:&#34;cg.subject.actionArea&#34;, &#34;value&#34;:&#34;Systems Transformation&#34;, &#34;language&#34;: &#34;en_US&#34;}&#39;</span>
</span></span></code></pre></div><ul>
<li>I need to ask on the DSpace Slack about this POST pagination</li>
<li>Abenet and Udana noticed that the Handle server was not running