firebase는 restful api와 다르게, collection과 document의 조합으로 path를 설정할 수 있다. 이를 이용해 Endpoint의 설계를 변형했다.

  1. PathComponent를 통해 path를 생성
  2. Endpoint는 pathComponent를 이용해서 fullPath를 생성
  3. DataTransferService는 NetworkService를 사용해서 endpoint를 사용해서 document(fullPath).getDocument 호출