rest api with shortcuts