Project

General

Profile

CoL2EDITWSAPI » History » Version 23

Andreas Müller, 03/28/2022 03:12 PM

1 1 Cherian Mathew
2
# Web Services API for accessing CoL Checklist from a CDM Data Source
3
4 23 Andreas Müller
*This wiki page describes the Web Service API which implements the specifications as mentioned [here](http://dev.e-taxonomy.eu/trac/wiki/CoL2EDITWebServices.)*
5 1 Cherian Mathew
6 23 Andreas Müller
----
7 1 Cherian Mathew
8 23 Andreas Müller
{{toc}}
9 1 Cherian Mathew
10 23 Andreas Müller
{{child_pages(depth=1)}}
11 1 Cherian Mathew
12
13
## General
14
15
This section deals with general issues regarding the API Development
16
17 17 Cherian Mathew
18
### Status
19 16 Cherian Mathew
20
06/04/2012 : First version of CoL-CDM services installed on [[EDIT|Production Server http://dev.e-taxonomy.eu/cdmserver/col/]]
21
22 1 Cherian Mathew
23 2 Cherian Mathew
## To Do
24 1 Cherian Mathew
25
26
### Pager
27
28 5 Cherian Mathew
The [pager](http://dev.e-taxonomy.eu/trac/wiki/CoL2EDITWebServices#Paging) implementation for all specified services are yet to be developed.
29 1 Cherian Mathew
30
31 5 Cherian Mathew
## Notes
32 1 Cherian Mathew
33 5 Cherian Mathew
34 6 Cherian Mathew
### JSON Default
35 5 Cherian Mathew
36 20 Cherian Mathew
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://dev.e-taxonomy.eu/cdmserver/col/name_catalogue.json?query=Abies%20alba)
37 5 Cherian Mathew
38
39
40 1 Cherian Mathew
## Name String Search
41 6 Cherian Mathew
42
43
### Examples
44
45 19 Cherian Mathew
* Exact Name Search                     : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue.json?query=Abies%20alba
46 6 Cherian Mathew
47 18 Cherian Mathew
* Wildcard Name Search (Match Anywhere) : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue.json?query=*esculenta*
48 6 Cherian Mathew
49 18 Cherian Mathew
* Wildcard Name Search (Match Beginning): http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue.json?query=Abies%20alba*
50 6 Cherian Mathew
51 12 Cherian Mathew
* Wildcard Name Search (Match End)      : 
52 6 Cherian Mathew
53 19 Cherian Mathew
* Multiple Name Search Queries          : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue.json?query=Acacia%20esculenta&query=Abies%20alba
54 7 Cherian Mathew
55 6 Cherian Mathew
56
### To Do
57
58
59
### Notes
60
61 13 Cherian Mathew
* Could be interesting to add a list of name lsids in the response.
62 6 Cherian Mathew
63
64
65
## Name Information
66 2 Cherian Mathew
67 4 Cherian Mathew
68 1 Cherian Mathew
### Examples
69
70 18 Cherian Mathew
* Single Query                          : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue/name.json?nameUuid=cd4bc51f-ddcd-4e9c-aa02-4301fd78debf
71 4 Cherian Mathew
72 18 Cherian Mathew
* Multiple Query                        : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue/name.json?nameUuid=0d5e07b6-2646-4210-80e0-fcd449e26b57&nameUuid=cd4bc51f-ddcd-4e9c-aa02-4301fd78debf
73 1 Cherian Mathew
74
75 8 Cherian Mathew
### To Do
76 1 Cherian Mathew
77
78 8 Cherian Mathew
### Notes
79
80 15 Cherian Mathew
* At the moment taxon lsids are not included in the response in the case where the name uuid corresponds to a synonym. Would it be interesting to return taxon lsids of the accepted taxa (could be more than one) of this synonym ?
81 8 Cherian Mathew
82
83 14 Cherian Mathew
84 8 Cherian Mathew
## Taxon Information
85
86
87
### Examples
88
89 18 Cherian Mathew
* Single Query (Accepted Name)          : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue/taxon.json?taxonUuid=0fd48e3d-c6dc-44f5-aa47-ae294b6716eb
90 1 Cherian Mathew
91 18 Cherian Mathew
* Single Query (Synonym)                : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue/taxon.json?taxonUuid=425e45f5-c7ef-4b19-8245-5b642e91d74b
92 9 Cherian Mathew
93 18 Cherian Mathew
* Multiple Query                        : http://dev.e-taxonomy.eu/cdmserver/col/name_catalogue/taxon.json?taxonUuid=425e45f5-c7ef-4b19-8245-5b642e91d74b&taxonUuid=1c218146-954b-4458-a41b-6d7518e96898
94 8 Cherian Mathew
95
96 5 Cherian Mathew
### To Do
97
98
99
### Notes
100 14 Cherian Mathew
101
* At the moment, the classification map is not included when the taxon uuid corresponds to a synonym. Would it be correct to return classification maps of the accepted taxa (could be more than one) of this synonym ?
102
103 15 Cherian Mathew
* At the moment, for synonyms, only the list of accepted taxa are included in related taxa field in the response. Would it be interesting to include even the synonyms of these accepted taxa ?