The api package defines the main hector api entry points (aka the v2 API)