inconsistent field names/content for visitor details in Live API (getLastVisitsDetails) #6822
Labels
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
It seems inconsistent to me that visitor details in the live visitor log API ("Live.getLastVisitsDetails" ) uses "serverTimePretty" which actually contains date AND time while the attribute with the same name for actual visits only contains time (to be used with another attribute "serverDatePretty" ).
Preferrably if this is going to be fixed you could also have a look at #6814: changing the contents of "serverTimePretty" will require some code updates for all users of the API so better give them a "clean" way of consuming the information. Also the presence of the "serverTimestamp" field can be used to decide if you're talking to an older server or not.
The text was updated successfully, but these errors were encountered: