{
  "opencollection": "1.0.0",
  "info": {
    "name": "SonarQube Cloud Web authentication hotspots API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "hotspots",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Change the status of a Security Hotpot. Requires the 'Administer Security Hotspot' permission.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sonarcloud.io/api/hotspots/change_status",
            "params": [
              {
                "name": "comment",
                "value": "This is safe because user input is validated by the calling code",
                "type": "query",
                "description": "Comment text."
              },
              {
                "name": "hotspot",
                "value": "AU-TpxcA-iU5OvuD2FL0",
                "type": "query",
                "description": "Key of the Security Hotspot"
              },
              {
                "name": "resolution",
                "value": "",
                "type": "query",
                "description": "Resolution of the Security Hotspot when new status is REVIEWED, otherwise must not be set."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "New status of the Security Hotspot."
              }
            ]
          },
          "docs": "Change the status of a Security Hotpot. Requires the 'Administer Security Hotspot' permission."
        },
        {
          "info": {
            "name": "Search for Security Hotpots.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sonarcloud.io/api/hotspots/search",
            "params": [
              {
                "name": "fileUuids",
                "value": "AXAKhxssZ0nocQ78Us1K",
                "type": "query",
                "description": "Comma-separated list of file uuids. Returns only hotspots found in those files. If set, 'files' must not be set."
              },
              {
                "name": "files",
                "value": "src/main/java/com/sonarsource/FourthClass.java",
                "type": "query",
                "description": "Comma-separated list of file paths. Returns only hotspots found in those files. If set, 'fileUuids' must not be set."
              },
              {
                "name": "hotspots",
                "value": "my_project",
                "type": "query",
                "description": "Comma-separated list of Security Hotspot keys. This parameter is required unless projectKey is provided."
              },
              {
                "name": "onlyMine",
                "value": "",
                "type": "query",
                "description": "If 'projectKey' is provided, returns only Security Hotspots assigned to the current user"
              },
              {
                "name": "p",
                "value": "42",
                "type": "query",
                "description": "1-based page number"
              },
              {
                "name": "projectKey",
                "value": "my_project",
                "type": "query",
                "description": "Key of the project or application. This parameter is required unless hotspots is provided."
              },
              {
                "name": "ps",
                "value": "20",
                "type": "query",
                "description": "Page size. Must be greater than 0."
              },
              {
                "name": "resolution",
                "value": "",
                "type": "query",
                "description": "If 'projectKey' is provided and if status is 'REVIEWED', only Security Hotspots with the specified resolution are returned."
              },
              {
                "name": "sinceLeakPeriod",
                "value": "",
                "type": "query",
                "description": "If '%s' is provided, only Security Hotspots created since the leak period are returned."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "If 'projectKey' is provided, only Security Hotspots with the specified status are returned."
              }
            ]
          },
          "docs": "Search for Security Hotpots."
        },
        {
          "info": {
            "name": "Provides the details of a Security Hotspot.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sonarcloud.io/api/hotspots/show",
            "params": [
              {
                "name": "hotspot",
                "value": "AU-TpxcA-iU5OvuD2FL0",
                "type": "query",
                "description": "Key of the Security Hotspot"
              }
            ]
          },
          "docs": "Provides the details of a Security Hotspot."
        }
      ]
    }
  ],
  "bundled": true
}