OpenReferralUK/human-services

vocabulary parameter not needed for taxonomy searches

Opened this issue · 0 comments

We have previously suggested that API searches for services matching a taxonomy term should take this syntax:

/services/?&taxonomy_id=esdServiceType:242&vocabulary=esdServiceTypes

However, API guidance now makes it clear how CURIEs should be used for all taxonomy term identifiers. So we expect taxonomy identifiers to be unique across all vocabularies.

Hence the "vocabulary" parameter should not be needed and this syntax should be sufficient:

/services/?&taxonomy_id=esdServiceType:242