Added operations to the REST topology API and test cases to drive consistency checks.