v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Get issue reachability

Returns the reachability of a single issue

get/issues/{issue_id}/reachability

Path parameters

issue_idinteger required

The unique ID of the issue

Query parameters

include_dev_depsboolean

Optional flag to include the reachability including dev dependencies. Default is 'false'.

Response

A reachability analysis for an issue

Example response

[
  [
    {
      "package_name": null,
      "package_version": null,
      "files": [
        {
          "file_path": "/app.js",
          "line_numbers": [
            2,
            5
          ]
        },
        {
          "file_path": "/routes.js",
          "line_numbers": [
            2
          ]
        }
      ]
    },
    {
      "package_name": "express",
      "package_version": "4.19.2",
      "files": [
        {
          "file_path": "/lib/express.js",
          "line_numbers": [
            78,
            80,
            82,
            83,
            90
          ]
        }
      ]
    },
    {
      "package_name": "body-parser",
      "package_version": "1.20.2",
      "files": []
    }
  ]
]