How is version checking implemented in WordPress?

An api.wordpress.org/core/version-check/1.7/ response example