How to fetch content from a private bitbucket repository

How to fetch content from a private bitbucket repository

The following example demonstrates how to fetch a private Bitbucket repository.

To fetch content from a private Bitbucket repository, perform the following:

  1. Create a private Bitbucket repository profile

  2. Add Markdown from a URL macro

Create a private Bitbucket repository profile

For example, consider the values specified as per the following table:

Parameter

Values

Parameter

Values

Profile name

BB-private-repo-rel-url

Profile type

URL

URL

https://api.bitbucket.org/2.0/repositories

User

bobswift-test

Password

App password (See how to create app passwords)

Following this update, the user account password when using basic authentication is no longer valid.

 

Add Markdown from a URL macro

Once you have created a profile, create or edit a page where you want to add the macro, and add the Markdown from a URL macro. As per our example, consider the specified as per the following table:

Parameter

Value

Parameter

Value

Profile

BB-private-repo-rel-url

URL to markdown file

/bobswift-test/private_test_repo/src/master/markdown/headings.md

The content is automatically rendered from the specified URL.

Additional links

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.