Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

{
  "eid": "LOG",
  "ets": 1544592273785,
  "ver": "3.0",
  "mid": "1544592273785.a49bb73d-0369-4720-9cca-0614c2ccc490",
  "actor": {
    "id": "X-Consumer-ID",
    "type": "consumer"
  },
  "context": {
    "channel": "CUSTODIAN_ORG_001ID",
    "pdata": {
      "id": "local.sunbird.learning.service",
      "pid": "learning-service",
      "ver": "1.13.0"
    },
    "env": "otp",
    "cdata": [
      {
        "id": "8e27cbf5-e299-43b0-bca7-8347f7e5abcf",
        "type": "request"
      }
    ],
    "rollup": {
      
    }
  },
  "edata": {
    "level": "info",
    "type": "api_access",
    "message": "",
    "params": [
      {
        "duration": 85
      },
      {
        "method": "POST"
      },
      {
        "url": "v1/otp/generate"
      },
      {
        "status": "200"
      }
    ]
  }

...

{
  "eid": "LOG",
  "ets": 1544592273785,
  "ver": "3.0",
  "mid": "1544592273785.a49bb73d-0369-4720-9cca-0614c2ccc490",
  "actor": {
    "id": "X-Consumer-ID",
    "type": "consumer"
  },
  "context": {
    "channel": "CUSTODIAN_ORG_001ID",     "pdata": {
      "id": "local.sunbird.learning.service",       "pid": "learning-service",
      "ver": "1.13.0"
    },     "env": "otp",
    "cdata": [       {
        "id": "8e27cbf5-e299-43b0-bca7-8347f7e5abcf",
        "type": "request"
      }     ],
    "rollup": {       
    }   },
  "edata": {     "level": "info",
    "type": "api_access",
    "message": "",     "params": [
      {         "duration": 85       },       {
        "method": "POST"
      },
      {
        "url": "v1/otp/verify"
      },       {
        "status": "200"       }
    ]   }

/user/v1/tnc/accept

{
  "eid": "LOG",
  "ets": 1544592273785,
  "ver": "3.0",
  "mid": "1544592273785.a49bb73d-0369-4720-9cca-0614c2ccc490",
  "actor": {
    "id": "X-Consumer-ID",
    "type": "consumer"
  },
  "context": {
    "channel": "CUSTODIAN_ORG_001ID",     "pdata": {
      "id": "local.sunbird.learning.service",       "pid": "learning-service",
      "ver": "1.13.0"
    },     "env": "user",     "cdata": [       {
        "id": "8e27cbf5-e299-43b0-bca7-8347f7e5abcf",
        "type": "request"       }     ],
    "rollup": {
      
    }   },
  "edata": {
    "level": "info",     "type": "api_access",
    "message": "",     "params": [
      {         "duration": 85       },
      {         "method": "POST"       },
      {         "url": "/user/v1/tnc/accept" 
},
{
"status": "200"
}
]
}


...

{
  "eid": "AUDIT",
  "ets": 1544592512883,
  "ver": "3.0",
  "mid": "1544592512883.5041d899-5b0d-423f-8de4-cb34a3ec95bb",
  "actor": {
    "id": "X-Consumer-ID",
    "type": "consumer"
  },
  "context": {
    "channel": "CUSTODIAN_ORG_001ID",     "pdata": {
      "id": "local.sunbird.learning.service",       "pid": "learning-service",       "ver": "1.13.0"
    },     "env": "user",
    "cdata": [       {         "id": "8e27cbf5-e299-43b0-bca7-8347f7e5abcf",         "type": "request"       }
    ],
    "rollup": {       
    }
  },   "object": {
    "id": "55dd1f83-b48c-4eab-973e-428f199230fa",
    "type": "user"   },   "edata": {
"prevState": "v1", "state": "v2", "props": [
"tncAcceptedVersion" ] } }

Open Questions

...