mirror of https://gitee.com/bigwinds/arangodb
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
shell> curl -X PUT --header 'x-arango-async: store' --dump - http://localhost:8529/_api/version
|
|
|
|
HTTP/1.1 202 Accepted
|
|
content-type: text/plain; charset=utf-8
|
|
x-arango-async-id: 146641305616408
|
|
|
|
shell> curl --dump - http://localhost:8529/_admin/time
|
|
|
|
HTTP/<span class="hljs-number">1.1</span> <span class="hljs-number">200</span> OK
|
|
content-type: application/json; charset=utf<span class="hljs-number">-8</span>
|
|
|
|
{
|
|
<span class="hljs-string">"time"</span> : <span class="hljs-number">1466413074.509864</span>,
|
|
<span class="hljs-string">"error"</span> : <span class="hljs-literal">false</span>,
|
|
<span class="hljs-string">"code"</span> : <span class="hljs-number">200</span>
|
|
}
|
|
shell> curl -X DELETE --dump - http://localhost:8529/_api/job/expired?stamp=1466413074.509864
|
|
|
|
HTTP/<span class="hljs-number">1.1</span> <span class="hljs-number">200</span> OK
|
|
content-type: application/json; charset=utf<span class="hljs-number">-8</span>
|
|
|
|
{
|
|
<span class="hljs-string">"result"</span> : <span class="hljs-literal">true</span>
|
|
}
|
|
shell> curl --dump - http://localhost:8529/_api/job/pending
|
|
|
|
HTTP/<span class="hljs-number">1.1</span> <span class="hljs-number">200</span> OK
|
|
content-type: application/json; charset=utf<span class="hljs-number">-8</span>
|
|
|
|
[ ]
|