Projects

Calculate vendor risk distribution

Changed on
get/projects/calculateVendorRisks/{id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/projects/calculateVendorRisks/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required
Example:1

The numeric project ID

Response

Vendor risk calculations returned

messagestring

Example response

{
  "message": "OK",
  "data": [
    {
      "risk_level": "Critical",
      "count": "2"
    }
  ]
}

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      removed the non-success response with the status

    • info

      added the success response with the status

    • info

      endpoint added