Projects

Calculate project risk distribution

Changed on
get/projects/calculateProjectRisks/{id}

Request

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

Path parameters

idinteger required
Example:1

The numeric project ID

Response

Risk calculations returned

messagestring

Example response

{
  "message": "OK",
  "data": [
    {
      "risk_level_autocalculated": "High",
      "count": "3"
    }
  ]
}

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