Closed Piiit closed 3 years ago
@stefanodavid FYI
@Piiit I understand the big picture, but some details are not clear. I will try to come to your office next week to clarify them.
@stefanodavid That is OK for me. Which details are not clear? Maybe we could resolve them with some comments here?
@Piiit here my doubts:
1.
Does your feedback relate to a specific page? If yes, please add the link here.
Are you sure that this is the right section where to put the information? The fields of the JSON response are described in https://opendatahub.readthedocs.io/en/latest/howto/mobility/getstarted.html#apiv2-keys-1
I suggest to update the
available
vsactive
description with somethink similar to:We expose only **available** stations, but for historical reasons the `savailable` fields are still accessible. Availability should have been an internal-only field to mark a station visible through the API.......
What has "active" to do with the description? This would be a change concerning only availability AFAIU.
@stefanodavid
https://opendatahub.readthedocs.io/en/latest/howto/mobility/getstarted.html#apiv2-keys-1
Right place, do not know if there are other places?
What has "active" to do with the description? This would be a change concerning only availability AFAIU.
Yes, you are right... only availability
Hi @Piiit
@stefanodavid
https://opendatahub.readthedocs.io/en/latest/howto/mobility/getstarted.html#apiv2-keys-1
Right place, do not know if there are other places?
I think that the improvements required in this issue have already been covered in #163, in particular in the notes in the definitions of Edge and Nodes, can you please check? The only improvement I can think of is to put these notes in a more prominent place.
@stefanodavid I consider it as solved, thanks!
Does your feedback relate to a specific page? If yes, please add the link here.
Important for all mobility sections, that describe the response containing
available
fields. For example,savailable
orpavailable
etc.Your feedback Since the new version 1.0.0 (released on 2020-09-28) we no longer expose stations which have either
available = false
oravailaibe = NULL
, that is we expose onlyavailable = true
stations.However, in order to not break the API we still expose all
...available
fields (in SELECT) and allowsavailable
constraint (in WHERE). This should have been an internal only field, never exposed to the outside world, but it has been exposed in the past and now we cannot hide it anymore, some applications might break.I suggest to update the
available
vsactive
description with somethink similar to:Any questions? Please let me know... :-)