Hello,
This query was previously working:
http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&type=OCC...
But now returns:
"Value SPAIN invalid for filter parameter PUBLISHING_COUNTRY"
We've switched to using the 2 letter iso country code (which works fine):
http://api.gbif.org/v0.9/dataset/search?publishingCountry=ES&type=OCCURR...http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&type=OCCURRENCE&limit=1
but just thought I'd flag this in case it wasn't an intended change. This JIRA issue [1] suggests that the intention is to support both.
Cheers
Dave Martin ALA
Thanks Dave, we intend to use 2 letter ISO codes for countries and languages everywhere now, so this is expected behaviour. If you ever discover URLs that work with the full name please let us know!
cheers, Markus
PS: the API is very close to the final envisioned version 1 now, a matter of weeks hopefully!
On 01 Jul 2014, at 03:28, David.Martin@csiro.au David.Martin@csiro.au wrote:
Hello,
This query was previously working:
http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&type=OCC...
But now returns:
"Value SPAIN invalid for filter parameter PUBLISHING_COUNTRY"
We've switched to using the 2 letter iso country code (which works fine):
http://api.gbif.org/v0.9/dataset/search?publishingCountry=ES&type=OCCURR...
but just thought I'd flag this in case it wasn't an intended change. This JIRA issue [1] suggests that the intention is to support both.
Cheers
Dave Martin ALA
[1] http://dev.gbif.org/issues/browse/POR-43
API-users mailing list API-users@lists.gbif.org http://lists.gbif.org/mailman/listinfo/api-users
participants (2)
-
David.Martin@csiro.au
-
Markus Döring