IDigBio API v1 Specification: Difference between revisions

From iDigBio
Jump to navigation Jump to search
(stub)
(add missing urls)
Line 45: Line 45:


<pre>
<pre>
http://api.idigbio.org/v1/
http://api.idigbio.org/v1/records
</pre>
</pre>


Line 53: Line 53:


<pre>
<pre>
http://api.idigbio.org/v1/
http://api.idigbio.org/v1/records/{ID}
</pre>
</pre>


Line 76: Line 76:


<pre>
<pre>
http://api.idigbio.org/v1/
http://api.idigbio.org/v1/publishers/{ID}
</pre>
</pre>


Line 84: Line 84:


<pre>
<pre>
http://api.idigbio.org/v1/
http://api.idigbio.org/v1/recordsets
</pre>
</pre>



Revision as of 15:28, 13 May 2014


API Version Information

This is the specification for v1 of the iDigBio API. Previous versions of the API continue to exist but should be considered deprecated. API users should use the current version of the API. This document supercedes iDigBio API v0 Specification.


Endpoints

GET /{api_version}/mediarecords

Resource URL

http://api.idigbio.org/v1/mediarecords

Sample Result:

GET /{api_version}/mediarecords/{ID}

Resource URL:

http://api.idigbio.org/v1/mediarecords/{ID}

Sample Result:

GET /{api_version}/mediarecords/{ID}/media

Resource URL:

http://api.idigbio.org/v1/mediarecords/{ID}/media

Sample Result:


GET /{api_version}/records

Resource URL:

http://api.idigbio.org/v1/records

GET /{api_version}/records/{ID}

Resource URL:

http://api.idigbio.org/v1/records/{ID}

GET /{api_version}/records/{ID}/media

Resource URL:

http://api.idigbio.org/v1/records/{ID}/media

GET /{api_version}/publishers

Resource URL:

http://api.idigbio.org/v1/publishers

GET /{api_version}/publishers/{ID}

Resource URL:

http://api.idigbio.org/v1/publishers/{ID}


GET /{api_version}/recordsets

Resource URL:

http://api.idigbio.org/v1/recordsets

GET /{api_version}/recordsets/{ID}

Resource URL:

http://api.idigbio.org/v1/recordsets/{ID}