Dodanie action do APIQuery i APIResponse