Open jarofgreen opened 9 years ago
@jarofgreen Thanks for raising this - I've created a ticket for what I think is the ideal solution: https://github.com/mysociety/popit-api/issues/132
In the mean time, to answer your questions:
versions[].data.id
is different from id
then that other ID was merged into this oneTODO:
There needs to be one consistent rule that always holds true that API Consumers can use to pick this up. They may be tracking data against IDs.
eg http://yournextmp.popit.mysociety.org/api/v0.1/persons/5895 and http://yournextmp.popit.mysociety.org/api/v0.1/persons/5239
At present, you can look through all version records and look in the ID field. If you see a different ID, then you know a merge happened.