14330
Reporter: trobertson
Assignee: cvizitiu
Type: Bug
Summary: Homepage uses wrong web services
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2013-11-05 14:00:35.542
Updated: 2013-12-20 15:39:17.641
Resolved: 2013-12-20 15:38:57.956
Description: The counts on the homepage are using the apidev.gbif.org url where they should be using api.gbif.org/v0.9
]]>
Author: cvizitiu@gbif.org
Created: 2013-11-05 15:43:04.779
Updated: 2013-11-05 15:43:04.779
[~trobertson@gbif.org] , species counter doesn't work with the new URL (or at least the latest version that I have)
http://apidev.gbif.org/name_usage/search?dataset_key=7ddf754f-d193-4cc9-b351-99906754a03b&limit=1&rank=species&status=accepted&status=DOUBTFUL&callback=?
will return an error when switched to api.gbif.org
Author: kbraak@gbif.org
Created: 2013-11-06 14:09:32.605
Updated: 2013-11-06 14:09:32.605
[~cvizitiu@gbif.org] did you try with /v0.9/ in front like this?
http://api.gbif.org/v0.9/species/search?dataset_key=7ddf754f-d193-4cc9-b351-99906754a03b&limit=1&rank=species&status=accepted&status=DOUBTFUL&callback=?
Author: cvizitiu@gbif.org
Comment: Did you try reading my answer? :-( You're now giving me a different ULRL for species. So be it then...
Created: 2013-11-06 14:16:38.658
Updated: 2013-11-06 14:16:38.658
Author: kbraak@gbif.org
Comment: You mean name_usage -> species? This is an auto rewrite happening in varnish I believe.
Created: 2013-11-06 14:36:18.886
Updated: 2013-11-06 14:36:18.886
Author: cvizitiu@gbif.org
Comment: Should work when api.gbif.org is back. Check and eventually close it.
Created: 2013-11-06 14:36:46.174
Updated: 2013-11-06 14:36:46.174
Author: cvizitiu@gbif.org
Comment: Well I switched to the new URL "search" URL for species. The url I gave you (the one with name_usage) doesn't work if you simply swap apidev for api.gbif.org/v0.9
Created: 2013-11-06 14:40:57.809
Updated: 2013-11-06 14:40:57.809
Author: kbraak@gbif.org
Comment: We can just go with /species instead of /name_usage then
Created: 2013-11-06 14:57:39.775
Updated: 2013-11-06 14:57:39.775
Author: cvizitiu@gbif.org
Comment: seems to me it's working just like that after the last commit; check the page source on www.
Created: 2013-11-06 15:02:22.099
Updated: 2013-11-06 15:02:22.099