Can we get the source code files tree structure by one api call?

Crag
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!
February 25, 2025

Hi atlassian team:

our team want to use the bitbucket rest api to get our repo's file/folder structure and return this as a json, do we have one call to send the condition in request and get the folder tree back in only one call, ex:  request: { folder: A }, response: {A:{B:{C:{....}}}}? otherwise, we have to call multi times to get this back with low performance.

the structure like this:

a {

b {

c {

file1

file2

}

}

 

b1 {

c1 {

file1

file2

}

}

}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events