From my Java application, I need to programmatically access Atlassian BitBucket account in order to be able to manage repositories/branches/commits/files.
I have found the following Java API https://developer.atlassian.com/server/bitbucket/reference/java-api/ but unable to find any example how it can be used /
Could you please show a simple example how to programmatically login with user credentials into Atlassian BitBucket account and fetch for example a list of files inside of specific repository?