updating to use new content spec REST endpoints