Define structure of the json to save the data on the database. The json must contain: - CMCD validator output. - Player user agent ( os, browser and version of each). - Request ip - Datetimes with format [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) UTC (when the analyzer receive the request and when returns it) - Received URL and CDN request URL - All the content of the json base 64 encoded received. The data must not be duplicated
Activity
adriansqualabs commentedon May 12, 2023
{ "id": "123456", "user_agent": { "os": "Windows", "browser": "Chrome", "version": "1.1.1" }, "request_ip": "<ip>:<port>", "received_datetime": "2023-05-12T10:30:00.000Z", "returned_datetime": "2023-05-12T10:30:05.000Z", "cdn_request_url": "https://cdn.example.com/video.mp4", "content_base64": { url: "https://dxclj9vp3m44c.cloudfront.net/hls/", ... }, "valid": true, "errors": [], "warnings": [], "cmcd_keys": { bl: 9600, cid: 'testContentId', d: 10000, mtp: 55800, ot: 'av', sf: 'h', sid: 'testSessionId', st: 'v', tb: 1811 }, "cmcd_input": 'https://dxclj9vp3m44c.cloudfront.net/hls/Costa_Rica_144_1080_00002.ts?CMCD=bl%3D9600%2Ccid%3D%22testContentId%22%2Cd%3D10000%2Cmtp%3D55800%2Cot%3Dav%2Csf%3Dh%2Csid%3D%22testSessionId%22%2Cst%3Dv%2Ctb%3D1811' }