How to determine if files are in sync using API

The API:

https://docs.syncthing.net/dev/rest.html

A similar discussion from the other day: