{
  "opencollection": "1.0.0",
  "info": {
    "name": "Lightrun Actions Debug Cases API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Debug Cases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of cases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8090/api/v1/debug-cases",
            "params": [
              {
                "name": "agentPoolId",
                "value": "",
                "type": "query",
                "description": "Agent pool ID. Mandatory when RBAC is enabled. Ignored when RBAC is disabled."
              },
              {
                "name": "createdAt",
                "value": "",
                "type": "query",
                "description": "Filter cases by the creation date. Date format is <YYYY-MM-DD>. (UTC)"
              },
              {
                "name": "createdBy",
                "value": "",
                "type": "query",
                "description": "Filter cases by the user created."
              },
              {
                "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, description, createdBy, createdAt."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a list of all debug cases.\n\n**Required API permission level:** `DEV`"
        },
        {
          "info": {
            "name": "Create a case",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8090/api/v1/debug-cases",
            "params": [
              {
                "name": "agentPoolId",
                "value": "",
                "type": "query",
                "description": "Agent pool ID. Mandatory when RBAC is enabled. Ignored when RBAC is disabled."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a case.\n\n**Required API permission level:** `DEV`"
        },
        {
          "info": {
            "name": "Get a case by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8090/api/v1/debug-cases/:id",
            "params": [
              {
                "name": "agentPoolId",
                "value": "",
                "type": "query",
                "description": "Agent pool ID. Mandatory when RBAC is enabled. Ignored when RBAC is disabled."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Case ID."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a case by ID.\n\n**Required API permission level:** `DEV`"
        }
      ]
    }
  ],
  "bundled": true
}