Talk:IDigBio API: Difference between revisions

more work...
(add more content)
(more work...)
Line 236: Line 236:
=== Elasticsearch - Records ===
=== Elasticsearch - Records ===


Useful parameters for '''Records'' queries to Elasticsearch:
These are the terms currently available in the indexes for '''Records''' type of queries to Elasticsearch:


<pre>
<pre>
Line 284: Line 284:
"waterbody"
"waterbody"
</pre>
</pre>
Sample query:
<code>
curl -s -XGET https://search.idigbio.org/idigbio/records/_search?q=uuid:a5eef658-07c3-4c45-91ef-17f21f7ccff8 | json_pp
</code>
TODO: include something about hasImage, scientificname


=== Elasticsearch - Media Records ===
=== Elasticsearch - Media Records ===
1,554

edits