Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to get path for Get diff stats summary for pull request API

Trung Nguyen Nam _trungnn307_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2025

Please give an example of the path for Get diff stats summary for pull request API 

https://developer.atlassian.com/server/bitbucket/rest/v905/api-group-pull-requests/#api-group-pull-requests
I got 404 error when leave it empty or use the path return from changes API 

https://developer.atlassian.com/server/bitbucket/rest/v905/api-group-pull-requests/#api-api-latest-projects-projectkey-repos-repositoryslug-pull-requests-pullrequestid-changes-get

 

{

    "fromHash": "7afb139c6be51c02b14c7296509523a07c0ed74b",
    "toHash": "b7f090508f4aefae924acbb52b3082795b9bd924",
    "properties": {
        "changeScope": "ALL"
    },
    "values": [
        {
            "contentId": "c0878a1707a5065aab436f639ab6340e3cf41269",
            "fromContentId": "8dc2e98299e1b5116458f8e017d25873757f21c4",
            "path": {
                "components": [
                   path
                ],
                "parent": "xxxxxxxxxxxxxxx",
                "name": "xxxxxxxxxxxxxxxx.kt",
                "extension": "kt",
                "toString": "thisPath"
However i got valid response when use same path for API 

https://developer.atlassian.com/server/bitbucket/rest/v905/api-group-pull-requests/#api-api-latest-projects-projectkey-repos-repositoryslug-pull-requests-pullrequestid-diff-path-get

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events