"Fossies" - the Fresh Open Source Software Archive

Member "arangodb-3.4.7/Documentation/Examples/RestDatabaseGetInfo.generated" (24 Jun 2019, 996 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 latest Fossies "Diffs" side-by-side code changes report for "RestDatabaseGetInfo.generated": 3.4.6.1_vs_3.4.7.

    1 <span class="hljs-meta">shell&gt;</span><span class="bash"> curl --header <span class="hljs-string">'accept: application/json'</span> --dump - http://localhost:8529/_api/database/current</span>
    2 
    3 HTTP/<span class="hljs-number">1.1</span> OK
    4 content-type: application/json; charset=utf<span class="hljs-number">-8</span>
    5 x-content-type-options: nosniff
    6 
    7 { 
    8   <span class="hljs-string">"error"</span> : <span class="hljs-literal">false</span>, 
    9   <span class="hljs-string">"code"</span> : <span class="hljs-number">200</span>, 
   10   <span class="hljs-string">"result"</span> : { 
   11     <span class="hljs-string">"name"</span> : <span class="hljs-string">"_system"</span>, 
   12     <span class="hljs-string">"id"</span> : <span class="hljs-string">"1"</span>, 
   13     <span class="hljs-string">"path"</span> : <span class="hljs-string">"/tmp/arangosh_S1Wow9/tmp-28804-2829627890/data/databases/database-1"</span>, 
   14     <span class="hljs-string">"isSystem"</span> : <span class="hljs-literal">true</span> 
   15   } 
   16 }