1

Topic: Excluding certain datasets from api calls

I'm trying to find a way to return only records other than our own when using api/taxonObservations and similar calls.

datasetKey allows me to specify our own datasets as a list, but there doesn't seem to be a parameter to say that these datasets should be excluded from the search. This would seem to be a simple and useful addition if it could be provided.

Is there a simple way to obtain only records from other organizations please?

Thanks, Keith

2

Re: Excluding certain datasets from api calls

Hi Keith, there isn't anything gateway side that would do this at the moment, but it should be something that we can add, I will create a ticket for it

Thanks,
Matt

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

3

Re: Excluding certain datasets from api calls

I now discard our records from the response so have the equivalent behaviour, though it's slower because I am fetching lots of records from the Gateway that I don't want.  It's a practical workaround for now.

Keith