Bitbucket server. REST API. How to enable "Transcode diffs" feature of the repository?
Asked Answered
B

0

7

Does anybody know how to enable "Transcode diffs" feature in repo settings -> Repository details(checkbox named "git-enable-transcoding") in local Bitbucket server(stash) via REST API?

That's fine to create branch, clone & push changes, even make some settings changes via REST API, such as: permissions, branch model, etc., but...not this. I've tried put something like

{'name': repository_slug, 'forkable': 'true', 'git-enable-transcoding': 'true'}

to

http://{bitbucket_server}/rest/api/latest/projects/{project_key}/repos/{repository_slug}

and another tries without success( No luck at the Bitbucket forums too. Please help, thanks in advance!

enter image description here

Breve answered 27/8, 2018 at 8:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.