REST API fixes and doc updates