{
  "opencollection": "1.0.0",
  "info": {
    "name": "LinkedIn Compliance Events Access Control Learning Activity Reports API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://www.linkedin.com/oauth/v2/authorization",
      "accessTokenUrl": "https://www.linkedin.com/oauth/v2/accessToken",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Learning Activity Reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "LinkedIn Get Learning Activity Reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linkedin.com/v2/learningActivityReports",
            "headers": [
              {
                "name": "referer",
                "value": "urn:li:enterpriseAccount:999"
              }
            ],
            "params": [
              {
                "name": "q",
                "value": "criteria",
                "type": "query",
                "description": "Query type"
              },
              {
                "name": "count",
                "value": "1",
                "type": "query",
                "description": "Number of results to return"
              },
              {
                "name": "startedAt",
                "value": "1627267600000",
                "type": "query",
                "description": "Start timestamp in milliseconds since epoch"
              },
              {
                "name": "timeOffset.unit",
                "value": "DAY",
                "type": "query",
                "description": "Time offset unit"
              },
              {
                "name": "timeOffset.duration",
                "value": "7",
                "type": "query",
                "description": "Time offset duration"
              },
              {
                "name": "aggregationCriteria.primary",
                "value": "ACCOUNT",
                "type": "query",
                "description": "Primary aggregation criteria"
              },
              {
                "name": "contentSource",
                "value": "ALL_SOURCES",
                "type": "query",
                "description": "Source of learning content to include"
              },
              {
                "name": "locale.language",
                "value": "en",
                "type": "query",
                "description": "Locale language code"
              },
              {
                "name": "start",
                "value": "0",
                "type": "query",
                "description": "Starting index for pagination"
              }
            ]
          },
          "docs": "Retrieve LinkedIn Learning activity reports including course completions, seconds of content viewed, and learner logins. Data can be aggregated by account, group, individual, or content."
        }
      ]
    }
  ],
  "bundled": true
}