Using REST APIs for Virtual Director