README.md

April 4, 2019 ยท View on GitHub

The AD Content service archives the AD videos and serves them upon request.

Interface:

The AD Content service exposes the following interface(s) on 8080:

PathDescription
GET/Return the AD video content.
GET/inventoryReturns the inventory.
GET/adstatsReturn a stat page that shows the statistics of AD clips played.
POST/adstatsSubmit an AD viewing report, in the request body.

e.g. report to post {"uri":"cat.mp4", "clicked":1, "watched":1}