CoL2EDITWSAPI » History » Revision 8
« Previous |
Revision 8/23
(diff)
| Next »
Cherian Mathew, 04/26/2012 10:40 AM
Web Services API for accessing CoL Checklist from a CDM Data Source¶
This wiki page describes the Web Service API which implements the specifications as mentioned here
- Table of contents
- Web Services API for accessing CoL Checklist from a CDM Data Source
General¶
This section deals with general issues regarding the API Development
To Do¶
Pager¶
The pager implementation for all specified services are yet to be developed.
Notes¶
JSON Default¶
=
Even though the specification mentions JSON as the default view, the usual REST service request url practice is to include 'application/json' in the request 'Accept' header or set json as response type in the request url itself(e.g. http://160.45.63.201:8080/col/name_catalogue.json?query=Abies%20alba%20Mill.)
Name String Search¶
Examples¶
Exact Name Search : http://160.45.63.201:8080/col/name_catalogue.json?query=Abies%20alba%20Mill.
Wildcard Name Search (Match Anywhere) : http://160.45.63.201:8080/col/name_catalogue.json?query=Abies%20alba*
Wildcard Name Search (Match Beginning):
Wildcard Name Search (Match End) : http://160.45.63.201:8080/col/name_catalogue.json?query=*esculenta*
Multiple Name Search Queries : http://160.45.63.201:8080/col/name_catalogue.json?query=Acacia%20esculenta%20DC.&query=Abies%20alba%20Mill.
To Do¶
Notes¶
- Could be interesting to add a list of names lsids in the reponse.
Name Information¶
Examples¶
Single Query : http://160.45.63.201:8080/col/name_catalogue/name.json?nameUuid=cd4bc51f-ddcd-4e9c-aa02-4301fd78debf
Multiple Query : http://160.45.63.201:8080/col/name_catalogue/name.json?nameUuid=0d5e07b6-2646-4210-80e0-fcd449e26b57&nameUuid=cd4bc51f-ddcd-4e9c-aa02-4301fd78debf
To Do¶
Notes¶
Taxon Information¶
Examples¶
Single Query : http://160.45.63.201:8080/col/name_catalogue/taxon.json?taxonUuid=425e45f5-c7ef-4b19-8245-5b642e91d74b
Multiple Query : http://160.45.63.201:8080/col/name_catalogue/taxon.json?taxonUuid=425e45f5-c7ef-4b19-8245-5b642e91d74b&taxonUuid=eaefe947-70dc-41a0-afc5-adf1becb6f03
To Do¶
Notes¶
Updated by Cherian Mathew almost 12 years ago · 8 revisions