add support to new rest api