Skip to content

M3: Spike: Define json to save #29

Open

Description

@JoaquinBCh

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 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

  1. converted this from a draft issue on May 12, 2023
  2. moved this from 🔖 Ready to start to 🏗 In progress in CMCD Validator & Analyzeron May 12, 2023
  3. adriansqualabs commented on May 12, 2023

    @adriansqualabs
    Contributor
    {
      "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'
    }
  4. moved this from 🏗 In progress to 👀 In review in CMCD Validator & Analyzeron May 16, 2023
  5. moved this from 👀 In review to ✅ Done in CMCD Validator & Analyzeron May 16, 2023
  6. moved this from ✅ Done to ✅ Done old in CMCD Validator & Analyzeron May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions