api structure changes