Add version to /api; fix indentation