commit
Receives the commit coverage information
post/2.0/{provider}/{username}/{projectName}/commit/{commitUuid}/coverage/{language}
Path parameters
organizationProviderstring required
Organization Provider [gh, bb, ghe, bbe, gl, gle]
usernamestring required
owner of the project
projectNamestring required
project name
commitUuidstring required
commit sha hash
languagestring required
coverage language
Query parameters
partialboolean
is partial coverage
Request body
Example request
{
"fileReports": [
{
"filename": "src/main/MyRules.java",
"coverage": {
"1": "1",
"5": "1",
"6": "3",
"7": "1",
"8": "2",
"9": "1"
}
},
{
"filename": "src/main/Main.java",
"coverage": {
"1": "3",
"5": "0",
"6": "1"
}
}
]
}Response
No response was specified
string required