IDigBio Download API: Difference between revisions

From iDigBio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


Ex. https://csv.idigbio.org/?query={%22genus%22:%22acer%22}
Ex. https://csv.idigbio.org/?query={%22genus%22:%22acer%22}


=== Status Endpoint ===
=== Status Endpoint ===
http://csv.idigbio.org/status/<download id> (returned as "status_url" from the original download query)
http://csv.idigbio.org/status/<download id> (returned as "status_url" from the original download query)


Ex.
Ex. http://csv.idigbio.org/status/995ed58b-01fd-4c98-893e-e0cbdfadc8fe
 
http://csv.idigbio.org/status/995ed58b-01fd-4c98-893e-e0cbdfadc8fe

Revision as of 11:43, 27 April 2015

Note: While the download API is currently used by the production portal, it should be considered highly unstable for non-iDigBio consumers. The next revision of the API will most likely be a total rewrite, backend and front.

Main Download Endpoint

https://csv.idigbio.org/?query=<idigbio query format , not all query types are available yet>&email=<email, optional>

Ex. https://csv.idigbio.org/?query={%22genus%22:%22acer%22}

Status Endpoint

http://csv.idigbio.org/status/<download id> (returned as "status_url" from the original download query)

Ex. http://csv.idigbio.org/status/995ed58b-01fd-4c98-893e-e0cbdfadc8fe