Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL

description

status

notes

ws/data/species/list

Return entire list of species names

coded, not deployed

 

ws/data/species/find?match=<string to match>

Return species that match query string

coded, not deployed

No wildcard yet implemented in the matching string.

...

Development URL

Deployed URL

Expected Response

Notes

http://localhost/ws/data/species  

http://www.avianknowledge.net/ws1.0/data/species

entire list in CSV format

Generates 404 error. 

http://localhost What do we want here? 404? Redirect to /ws/data/species/list?

http://localhost/wswww.avianknowledge.net/ws1.0/data/species/list

 

entire list in CSV format

"csv" is the default format.

http://localhost/ws/data/species/list?format=xml  

http://www.avianknowledge.net/ws1.0/data/species/list?format=xml

entire list in XML format

 

http://localhost/ws/data/species/list?format=csv  

http://www.avianknowledge.net/ws1.0/data/species/list?format=csv

entire list in CSV format

 

http://localhost/ws/data/species/list?format=QQQ  

http://www.avianknowledge.net/ws1.0/data/species/list?format=QQQ

entire list in CSV format

Bad format value is ignored and defaulted to csv.

http://localhost/ws/data/species/list?format=XML  

http://www.avianknowledge.net/ws1.0/data/species/list?format=XML

entire list in CSV format

"XML" is not a valid format option. Only "xml" and "csv" are valid options.

http://localhost/ws/data/species/find?match=streptopelia  

http://www.avianknowledge.net/ws1.0/data/species/find?match=streptopelia

CSV list of species

 

http://localhost/ws/data/species/find?match=streptopelia&format=xml
 

http://www.avianknowledge.net/ws1.0/data/species/find?match=streptopelia&format=xml

XML list of species

 

http://localhost/ws/data/species/find?match=STREPTOPELIA  

http://www.avianknowledge.net/ws1.0/data/species/find?match=STREPTOPELIA

CSV list of species

There should be no difference in response for upper/lower case search strings.

http://localhost/ws/data/species/list?format=  

http://www.avianknowledge.net/ws1.0/data/species/list?format=

entire list in CSV format

Bad format value is ignored and defaulted to csv.

http://localhost/ws/data/species/find?match=  

http://www.avianknowledge.net/ws1.0/data/species/find?match=

empty list in CSV format

 

...