Query current API version via /api

#1469