1

Topic: Getting taxa info for datasets

Hi,

I've started using this particular service today, eg:

/api/taxonDatasets/GA000832/taxa

This all works great. My issue is that when I put nonsense in, I simply get an empty result:

/api/taxonDatasets/foobar/taxa

Should this not produce some sort of warning message?

Cheers,

Tom

2

Re: Getting taxa info for datasets

Following on from this I have a similar issue with:

/api/datasets/foo

3 (edited by matt.debont 26-02-2014 10:18:03)

Re: Getting taxa info for datasets

These calls return a 204 No Content code, which is technically a success, but one without content, which is what you would expect from here really. So your application would need to check the return code of the http request, as it it may return a 204

Hope that helps, however it does look like I missed this return code out from the documentation I will see if I can get that put in.

Matt

Matt Debont
Application Developer
Joint Nature Conservation Committee, Monkstone House, City Road, Peterborough PE1 1JY, UK