make api naming more straightforward, add support for pageview swapping body