'List all type of repositories in bitbucket

Hi my org hosts Bitbucket data center version and have a requirement to get the list of all type(Public, Private) of repositories from bitbucket, how can I get started on this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source