how to create a file in repository in Bitbucket Repo folder using python using REST API End points

Dumbala, Vishnu Vardhan Reddy
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!
October 23, 2024

Hi Team,

I have a requirement to create a file in BitBucket Repo by using python & Rest API End point.

 

The Rest End which i am using is :

 

 

https://{baseurl}/rest/api/latest/projects/{projectKey}/repos/{slug}/files/subtest1
My Slug name is : Test
Under this i have created two folders. subtest1, subtest2 
I need to create a file under subfolder named "subtest1". Please suggest a way to do this.
Thanks
Vishnu

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events