REST api draft test