Api is on /api/state and /api/diff