1
0
Fork 0
arangodb/Documentation/Examples/JSF_job_delete_02.generated

35 lines
1.4 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: 151137490330194
x-content-type-options: nosniff
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>
x-content-type-options: nosniff
{
<span class="hljs-string">"time"</span> : <span class="hljs-number">1511374913.814433</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=1511374913.814433
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>
x-content-type-options: nosniff
{
<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>
x-content-type-options: nosniff
[ ]