Getting all tickets – API (ticket controller)