REST API for Longfriend