add all method from rest api