{% extends 'layouts/api-accordion-child'                %}
{% set id       = "link"                                %}
{% set title    = "/api/link/&lt;key&gt;/&lt;value&gt;" %}
{% set method   = "GET"                                 %}
{% set args   = [('key',   "The key to link CVEs on",     "msbulletin.bulletin_id"),
                 ('value', "The value for the given key", "MS16-098")] %}

{% block desc %}
Returns all CVEs that are linked by a given key/value pair
{% endblock %}

{% block output %}
{
  "stats": {
    "count": 4,
    "maxCVSS": 7.2,
    "minCVSS": 7.2
  },
  "cves": [
    {
      "Modified": {
        "$date": 1474927194753
      },
      "Published": {
        "$date": 1470765557223
      },
      "access": {
        "authentication": "NONE",
        "complexity": "LOW",
        "vector": "LOCAL"
      },
      "cvss": "7.2",
      "cvss-time": {
        "$date": 1470923642083
      },
      "cwe": "CWE-264",
      "id": "CVE-2016-3310",
      "impact": {
        "availability": "COMPLETE",
        "confidentiality": "COMPLETE",
        "integrity": "COMPLETE"
      },
  ...
{% endblock %}
