Add endpoints for getting table data