Renamed the directive to the api.
Added the response query to the api/response.