You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to restrict the fields returned by API search query. For example the following query returns also other fields than just name and street_address:
Additionally, the documentation for the API seems to be partially incomplete. (Yes, I know this site is no longer in use but there seems to be no alternative either.) The description for only parameter ends abruptly
"Restrict the field returned in the results. Separate field names by commas. In the search endpoint, you must qualify the field names with the resource names using the format"
Maybe this should include similar instructions as the include parameter above?
For example, instead of include=department you must specify include=unit.department.
The text was updated successfully, but these errors were encountered:
I can't seem to restrict the fields returned by API search query. For example the following query returns also other fields than just name and street_address:
https://api.hel.fi/servicemap/v2/search/?q=leikkipuisto&only=unit.name,unit.street_address
Additionally, the documentation for the API seems to be partially incomplete. (Yes, I know this site is no longer in use but there seems to be no alternative either.) The description for only parameter ends abruptly
Maybe this should include similar instructions as the include parameter above?
The text was updated successfully, but these errors were encountered: