{
  "opencollection": "1.0.0",
  "info": {
    "name": "Lightrun Actions Custom sources API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Custom sources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of custom sources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8090/api/v1/custom-sources",
            "params": [
              {
                "name": "agentPoolId",
                "value": "",
                "type": "query",
                "description": "Agent pool ID. Mandatory when RBAC is enabled. Ignored when RBAC is disabled."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter custom sources by their names. This filter supports the * wildcard to match multiple values with a common pattern."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Specifies a zero-based index of the results page to retrieve. The default is 0 (the first page)."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The number of items to include on each page of results. The default is 20."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "The sorting criteria in the format property (asc|desc), with ascending as the default. Multiple sort parameters can be chained to define primary, secondary, and further sorting levels (e.g., sort=field1,asc&sort=field2,desc). Sortable fields: name."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a list of custom sources.\n\n**Required API permission level:** `DEV`"
        }
      ]
    }
  ],
  "bundled": true
}