IDigBio API v1 Examples: Difference between revisions

Jump to navigation Jump to search
Line 307: Line 307:
==== Use the Elasticsearch URL interface with json-formatted filter query in the message body ====
==== Use the Elasticsearch URL interface with json-formatted filter query in the message body ====


A JSON query document can be specified on the command-line. Searching for the iDigBio GUID in the "uuid" term would look like the following:
A JSON query document can be specified on the command-line. Searching for the iDigBio GUID in the "uuid" term would look like the following command:


<pre>
<pre>
Line 317: Line 317:
}
}
' | json_pp
' | json_pp
</pre>
and give the following result:
<pre>
{
{
   "hits" : {
   "hits" : {
1,554

edits

Navigation menu