Fix API data hooks spec