{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ethena Learner Training Campaigns Learner Training Modules API",
    "version": "1.3.0"
  },
  "items": [
    {
      "info": {
        "name": "Learner Training Modules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get learner training modules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goethena.com/v1/learner-training-modules",
            "params": [
              {
                "name": "id",
                "value": "ltm456ghi9,ltm456ghi10",
                "type": "query",
                "description": "Use this parameter to filter learner training modules by id."
              },
              {
                "name": "learnerId",
                "value": "abc123def4,xyz123abc4",
                "type": "query",
                "description": "Use this parameter to filter learner training modules by learner id."
              },
              {
                "name": "learnerStatus",
                "value": "ACTIVE",
                "type": "query",
                "description": "Use this parameter to filter learner training modules by the status of the learner. When omitted, learner training modules for learners of all statuses will be included in the response."
              },
              {
                "name": "trainingCampaignId",
                "value": "tc123abc4,tc123abc5",
                "type": "query",
                "description": "Use this parameter to filter learner training modules by training campaign id."
              },
              {
                "name": "trainingCampaignStatus",
                "value": "ACTIVE",
                "type": "query",
                "description": "Use this parameter to filter learner training modules by the status of the training campaign. When omitted, learner training modules for training campaigns of all statuses will be included in the response."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Use this parameter to limit the number of entities returned."
              },
              {
                "name": "cursor",
                "value": "ltm456ghi25",
                "type": "query",
                "description": "Use this parameter to paginate through entities. The cursor is the `id` of the last entity you want to start from.\n\nTo get the first page, omit this parameter. \n\nTo get the next page, use the `id` of the last entity from the previous response. Continue paginating while `hasMore` is `true` in the response.\n\nExample workflow:\n1. GET /v1/{endpoint} → returns data + hasMore: true, last entity id: \"xyz789end\"\n2. GET /v1/{endpoint}?cursor=xyz789end → returns next page"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get many learner training modules. \n\nThe query parameter filters are applied as `AND` conditions across different filters. \nIf multiple filters are used, the response will include only the learner training modules that satisfy all the filters.\n\nWithin a single filter, multiple values are applied as `OR` conditions."
        },
        {
          "info": {
            "name": "Get a learner training module by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goethena.com/v1/learner-training-modules/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a training module."
        }
      ]
    }
  ],
  "bundled": true
}