Skip to content

User Watch History Sync

Introduction

A WATCH_HISTORY integration is responsible for syncing user history across devices.

Development with IDK

To start IDK in History sync mode, simply run idk up watch-history

$ idk up watch-history

grpc-mock Done!  
router Done!  
favorites-api Done!  
ui Done!  
Creating network "default-whsidk" with the default driver
Creating watch-history_default_watch-history-api_1 ... 
Creating watch-history_default_grpc-mock_1                ... 
Creating watch-history_default_ui_1                       ... 
Creating watch-history_default_router_1                   ... 
Creating watch-history_default_ui_1                       ... done
Creating watch-history_default_router_1                   ... done
Creating watch-history_default_grpc-mock_1                ... done
Creating watch-history_default_watch-history-api_1 ... done
### IDK environment URLs ###

    - IDK - Admin UI: http://localhost:49154/

APIs

Following APIs must be fulfilled by the integration:

  • WatchHistorySyncService - as defined in user/watch_history.proto