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
Did you ever find an answer to this? If so, could you share, please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.