POST
/
api
/
v1
/
stats
/
issuesByRepository
Get issues by repository
curl --request POST \
  --url https://zeropath.com/api/v1/stats/issuesByRepository \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "projectId": "<string>",
  "startDate": "2023-12-25",
  "endDate": "2023-12-25"
}'
[
  {
    "name": "<string>",
    "critical": 123,
    "high": 123,
    "medium": 123,
    "low": 123
  }
]

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
organizationId
string
projectId
string
startDate
string<date>
endDate
string<date>

Response

200 - application/json

Successful response

name
string
critical
number
high
number
medium
number
low
number