Skip to content

Instantly share code, notes, and snippets.

@ddillinger
Created September 4, 2015 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddillinger/ec9b5424b78527ac76c5 to your computer and use it in GitHub Desktop.
Save ddillinger/ec9b5424b78527ac76c5 to your computer and use it in GitHub Desktop.
ddillinger@ip-10-150-36-33:~> ./test-query.sh
./test-query.sh
API Location: https://api.dev.discoverstor.net
Account ID: fbc7d50f-bda0-4534-94e9-e65a2b52d692
User: sonian
Password: sonian123
Query: (and (contains body \"S\"))
API Token: https://api.dev.discoverstor.net/fbc7d50f-bda0-4534-94e9-e65a2b52d692/auth/v1/sessions/de6fd20c-ee5c-4637-989b-752fabf32831

==========
API: OK
{"href":"https://api.dev.discoverstor.net/fbc7d50f-bda0-4534-94e9-e65a2b52d692/search/v1/search-result-stream/stream-55ea01d9-7221-4e0b-bfab-1ed44e18a5b1","id":"stream-55ea01d9-7221-4e0b-bfab-1ed44e18a5b1","offs\
et":0,"limit":0,"returnCount":0,"items":[],"duration":88}
Dispatcher: OK
Sawdust: OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment