I encountered a tool that was sending code coverage result to bitbucket directly.
The endpoint was something like
https:///rest/code-coverage/1.0/commit/ I
tried sending the similar request to our Bitbucket data center The payload is written below
{
"files": [
{
"coverage": "C:11,12,17,18,19,20,22;P:13",
"path": "src/main/kotlin/test/Test.kt"
}
]
}
However, I kept on receiving 404 as the response. May I know if we have a documentation for this api?