Closed AsgerPetersen closed 11 months ago
Now -it seems- the gsearch search
endpoint no longer works. It simply disappeared. Instead it seems we need to make individual requests for each resource making the switch way more complicated as it requires an entirely different strategy to request handling and GUI interaction.
Update: I got an answer from Dataforsyningen support. gsearch
is not going to support the old functionality from geosearch
. From now on we have to use multiple requests against multiple end points to get query results from multiple resources. As written above this is very different from the geosearch
functionality and will require substantial code changes to make the plugin work with gsearch
.
Some issues on gsearch which highlights differences with geosearch:
Pluginet bruger Gsearch fra version 2.0.0 af pluginet. Dette issue lukkes.
Dataforsyningen retires geosearch by the end of may 2023 as stated here https://trello.com/c/URyuB8L6/177-opdatering-25012023-geosearch-lukker-31052023-anvend-i-stedet-gsearch.
The new service is called
gsearch
and is documented here https://docs.dataforsyningen.dk/#gsearch-gsearch. Note that thesearch
endpoint is difficult to find in the docs. I searched the docs forresources
to find it. This is and example of a request querying multiple resources in one go:https://api.dataforsyningen.dk/rest/gsearch/v1.0/search?resources=postnummer,adresse,husnummer&token=XXX&q=jer&limit=10
Tasks:
type
discriminator 🤨)