"Fossies" - the Fresh Open Source Software Archive

Member "arangodb-3.4.7/Documentation/Examples/RestCollectionRotateNoJournal.generated" (24 Jun 2019, 777 Bytes) of package /linux/misc/arangodb-3.4.7.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "RestCollectionRotateNoJournal.generated": 3.3.21_vs_3.4.2-1.

    1 <span class="hljs-meta">shell&gt;</span><span class="bash"> curl -X PUT --header <span class="hljs-string">'accept: application/json'</span> --data-binary @- --dump - http://localhost:8529/_api/collection/products/rotate</span> &lt;&lt;EOF
    2 { 
    3 }
    4 EOF
    5 
    6 HTTP/<span class="hljs-number">1.1</span> Bad Request
    7 content-type: application/json; charset=utf<span class="hljs-number">-8</span>
    8 x-content-type-options: nosniff
    9 
   10 { 
   11   <span class="hljs-string">"error"</span> : <span class="hljs-literal">true</span>, 
   12   <span class="hljs-string">"errorMessage"</span> : <span class="hljs-string">"no journal"</span>, 
   13   <span class="hljs-string">"code"</span> : <span class="hljs-number">400</span>, 
   14   <span class="hljs-string">"errorNum"</span> : <span class="hljs-number">1105</span> 
   15 }