{
  "opencollection": "1.0.0",
  "info": {
    "name": "PDCP Asset configurations API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "configurations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Configs List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/scans/config",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "filter by the type of config"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "search by config name"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The numbers of items to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of items to skip before starting to collect the result set"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get user scan configurations list"
        },
        {
          "info": {
            "name": "Add Config",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/scans/config",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Add a new scan configuration"
        },
        {
          "info": {
            "name": "Get Config",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "config_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "config_json",
                "value": "",
                "type": "query",
                "description": "config is in json format"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get a scan configuration"
        },
        {
          "info": {
            "name": "Update Config",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "config_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "config_json",
                "value": "",
                "type": "query",
                "description": "Specify payload is in json"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Update existing scan configuration"
        },
        {
          "info": {
            "name": "Delete Config",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "config_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Delete scan configuration"
        },
        {
          "info": {
            "name": "Get excluded templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/scans/config/exclude",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get excluded templates"
        },
        {
          "info": {
            "name": "Add excluded templates and targets",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/scans/config/exclude",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Add excluded templates or targets"
        },
        {
          "info": {
            "name": "Delete excluded templates or targets by ids",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.projectdiscovery.io/v1/scans/config/exclude",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Delete excluded templates or targets by ids"
        },
        {
          "info": {
            "name": "Get custom severity mappings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.projectdiscovery.io/v1/scans/config/severity",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ]
          },
          "docs": "Get custom severity mappings"
        },
        {
          "info": {
            "name": "Add custom severity mapping",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/scans/config/severity",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add custom severity mapping"
        },
        {
          "info": {
            "name": "Delete custom severity mapping",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.projectdiscovery.io/v1/scans/config/severity",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete custom severity mapping"
        },
        {
          "info": {
            "name": "Modify custom severity mapping",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.projectdiscovery.io/v1/scans/config/:config_id/severity",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "config_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modify custom severity mapping"
        },
        {
          "info": {
            "name": "Verify Config",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.projectdiscovery.io/v1/scans/config/verify",
            "headers": [
              {
                "name": "X-Team-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Verify scan configuration"
        }
      ]
    }
  ],
  "bundled": true
}