Hello, using the Bitbucket CLOUD API, and after calling the .../diffstat/xxxx..yyyy endpoint I'm getting the following response:
type : diffstat
lines_added : 5
lines_removed : 1
status : merge conflict
old : @{path=myfile; type=commit_file; escaped_path=myfile; links=}
new : @{path=myfile; type=commit_file; escaped_path=myfile; links=}
However, inspecting the two "links" fields, only the old one is populated with the appropriate .../src/yyyy/myfile endpoint URI, whereas the new one has "links={}".
If I perform a 3-way diff, instead, i.e. calling .../diffstat/xxxx..yyyy?topic=false, then both old and new are correctly populated with their respective endpoints.
Is this by design? If so, why is the new link not available in my first example?
Edit: I should add that the 3-way diff returns a status of 'modified' instead of 'merge conflict', as shown above... which to me doesn't make sense, because regardless of the diff strategy, I'm still comparing the same 2 commits...?
Thanks in advance for any feedback.