1,554
edits
(add Elasticsearch uuid examples) |
(change uuid to GUID, add some more notes) |
||
Line 41: | Line 41: | ||
=== Three ways to fetch a specific record based on iDigBio | === Three ways to fetch a specific record based on iDigBio GUID. === | ||
; 1. Use the API | ; 1. Use the API | ||
The | The complete record that was provided to iDigBio is stored in the API and can be retrieved by referencing the iDigBio GUID ("idigbio:uuid"). | ||
<pre> | <pre> | ||
Line 113: | Line 113: | ||
; 2. Use the Elasticsearch URL interface with query parameter | ; 2. Use the Elasticsearch URL interface with query parameter | ||
The data provided by the Elasticsearch interface may differ | The data provided by the Elasticsearch interface may differ from the raw API record since the Elasticsearch data has been normalized and indexed for consumption by the search portal. | ||
<pre> | <pre> | ||
Line 273: | Line 273: | ||
</pre> | </pre> | ||
We get the same results in the data fields: | We get the same results in the data fields as the previous search: | ||
<pre> | <pre> | ||
Line 419: | Line 419: | ||
} | } | ||
</pre> | </pre> | ||
=== Fetch five MediaRecord IDs (endpoints) from the API === | === Fetch five MediaRecord IDs (endpoints) from the API === |
edits