Added task status to API response