{
  "opencollection": "1.0.0",
  "info": {
    "name": "Lightrun Actions Lightrun feature flags status API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Lightrun feature flags status",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Lightrun system feature configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8090/api/v1/configuration/feature/toggle",
            "params": [
              {
                "name": "company",
                "value": "",
                "type": "query",
                "description": "Company ID for which to read the feature configuration. Required for non-single-tenant deployments"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a JSON file with the current Lightrun feature flags toggle status.\n\n**Required API permission level:** `COMPANY`"
        },
        {
          "info": {
            "name": "Update Lightrun feature flag toggle status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8090/api/v1/configuration/feature/toggle",
            "params": [
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "Signature for the request content"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update the Lightrun feature flags toggle status.\n\n**Required API permission level:** `COMPANY`"
        }
      ]
    }
  ],
  "bundled": true
}