How to access a java file which is sitting in repo in a specific package. Bit bucket has meta data info like pullrequest api,last commit REST APIs. can you suggest/help me with sample rest call and also how to pass username and password? given that I know fully qualified class name including project.
note: we are using bitbucket which hosted with our organization.
Ex: https://bitbucket.org/repo/my-project branch: tempBranch file:src/main/java/temp/Main.java
I would like to access/view full content on Main.java with in the Rest call. is there any REST api exist for this ?