API updates for Posts and Pages