Added git revision detection to /api