<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks Dave,<div>we intend to use 2 letter ISO codes for countries and languages everywhere now, so this is expected behaviour.&nbsp;</div><div>If you ever discover URLs that work with the full name please let us know!</div><div><br></div><div>cheers,</div><div>Markus</div><div><br></div><div><br></div><div>PS: the API is very close to the final envisioned version 1 now, a matter of weeks hopefully!</div><div><br></div><div><br></div><div><br><div><div>On 01 Jul 2014, at 03:28, &lt;<a href="mailto:David.Martin@csiro.au">David.Martin@csiro.au</a>&gt; &lt;<a href="mailto:David.Martin@csiro.au">David.Martin@csiro.au</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div fpstyle="1" ocsi="0" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="direction: ltr; font-family: Tahoma; font-size: 10pt;"><div>Hello,</div><div><br></div><div>This query was previously working:</div><div><br></div><a href="http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&amp;type=OCCURRENCE&amp;limit=1" target="_blank">http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&amp;type=OCCURRENCE&amp;limit=1</a><div><br></div><div>But now returns:</div><div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;">"Value SPAIN invalid for filter parameter PUBLISHING_COUNTRY"</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div><div><span style="font-size: 10pt; white-space: pre-wrap;">We've switched to using the 2 letter iso country code (which works fine):&nbsp;</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div><div><a href="http://api.gbif.org/v0.9/dataset/search?publishingCountry=SPAIN&amp;type=OCCURRENCE&amp;limit=1" target="_blank">http://api.gbif.org/v0.9/dataset/search?publishingCountry=ES&amp;type=OCCURRENCE&amp;limit=1</a></div><div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;">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.</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;">Cheers</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;">Dave Martin</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;">ALA</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;"><br>
</span></div><div><span style="white-space: pre-wrap; font-size: 10pt;">[1] </span><span style="white-space: pre-wrap;"><a href="http://dev.gbif.org/issues/browse/POR-43">http://dev.gbif.org/issues/browse/POR-43</a></span></div><div><pre style="word-wrap: break-word; white-space: pre-wrap;"><br></pre></div></div>_______________________________________________<br>API-users mailing list<br><a href="mailto:API-users@lists.gbif.org">API-users@lists.gbif.org</a><br><a href="http://lists.gbif.org/mailman/listinfo/api-users">http://lists.gbif.org/mailman/listinfo/api-users</a></div></blockquote></div><br></div></body></html>