Versions Compared

Key

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

...

Development URL

Deployed URL

Expected Response

Notes

http://localhost/ws1.0/data/hotspot/list?countryCode=

 

empty list in CSV format

 

http://localhost/ws1.0/data/hotspot/list?countryCode=US  

http://ebird.org/ws1.0/data/hotspot/list?countryCode=US

list in CSV format

Country code in uppercase is valid.

http://localhost/ws1.0/data/hotspot/list?countryCode=us

 

empty list in CSV format

Country code in lowercase is invalid.

http://localhost/ws1.0/data/hotspot/list?countryCode=US&format=xml  

http://ebird.org/ws1.0/data/hotspot/list?countryCode=US&format=xml

list in XML format

 

http://localhost/ws1.0/data/hotspot/list?countryCode=US&format=csv

 

list in CSV format

 

http://localhost/ws1.0/data/hotspot/list?countryCode=US&format=XML

 

list in CSV format

"XML" is not a valid format option. Only "xml" and "csv" are valid options. An invalid option will default to "csv" format.

http://localhost/ws1.0/data/hotspot/list?countryCode=US&format=qqq

 

list in CSV format

Bad format value is ignored and defaults to "csv".

[http://localhost/ws1.0/data/hotspot/list?subnational1Code=]

 

empty list in CSV format


[http://localhost/ws1.0/data/hotspot/list?subnational1Code=US-FL]

http://ebird.org/ws1.0/data/hotspot/list?subnational1Code=US-FL  

list in CSV format

Subnational1 code in uppercase is valid.

[http://localhost/ws1.0/data/hotspot/list?subnational1Code=us-fl]

 

empty list in CSV format

Subnational1 code in lowercase is invalid.

[http://localhost/ws1.0/data/hotspot/list?subnational1Code=US-FL&format=xml]

http://ebird.org/ws1.0/data/hotspot/list?subnational1Code=US-FL&format=xml  

list in XML format

 


CSV Result Format

...