IDigBio API v0 Specification: Difference between revisions

Jump to navigation Jump to search
no edit summary
(add table and cleanup)
 
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
This document has been superceded by [[IDigBio API v1 Specification]]. Please use the current version of the API if possible.  
[[Category:CYWG]]
[[Category:API]]
[[Category:Documentation]]
 
{{Caution|The iDigBio version 0 APIhas been superseded and is no longer available. For information on curent APIs, please see the [[iDigBio API]] page. This page remains for historical reference.}}


Previous versions of the API (such as v0) may be less-fully documented than current versions.


== Available Types==
== Available Types==
Line 66: Line 69:
| returns a recordset with specific entity ID
| returns a recordset with specific entity ID
|}
|}
=== GET /{api_version} ===
Description: Returns a list of top-level API feature types for a particular version of the API
Resource URL:
<pre>
http://api.idigbio.org/v1
</pre>
Parameters: None
Sample Usage:
<pre>
$ curl -s http://api.idigbio.org/v0 | json_pp
{
  "records" : "http://api.idigbio.org/v0/records",
  "recordsets" : "http://api.idigbio.org/v0/recordsets",
  "mediaaps" : "http://api.idigbio.org/v0/mediaaps",
  "mediarecords" : "http://api.idigbio.org/v0/mediarecords"
}
</pre>
82

edits

Navigation menu