fix(controller): change api logs response to 204 when no logs

The controller previously responded with a 404 (Not Found) when there
were no logs available, it now returns a 204 (No Content).

closes #990