mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2023-10-13
This commit is contained in:
@ -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 "Content-Type: application/json" -X POST "https://dspacetest.cgiar.org/rest/items/find-by-metadata-field" -d '{"key":"cg.subject.actionArea", "value":"Systems Transformation", "language": "en_US"}'
|
||||
<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">"Content-Type: application/json"</span> -X POST <span style="color:#e6db74">"https://dspacetest.cgiar.org/rest/items/find-by-metadata-field"</span> -d <span style="color:#e6db74">'{"key":"cg.subject.actionArea", "value":"Systems Transformation", "language": "en_US"}'</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
|
||||
|
Reference in New Issue
Block a user