Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket API cut line after 5000 chars

Ivan Pohosov March 30, 2020

I try to get the file content via Bitbucket API but there are so long lines and they are cut on 5000 char.

Does API have some flag to not cut lines?

 

url = "https://{}:{}@bit.text.com/rest/api/latest/projects/PROJECT/repos/" \
"REPO/browse/src/file.js?at=develop"

requests.get(url.format(config.GIT_USERNAME, config.GIT_PASSWORD)).text

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events