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:
Create a private Bitbucket repository profile
For example, consider the values specified as per the following table:
Parameter | Values |
|---|---|
Profile name | BB-private-repo-rel-url |
Profile type | URL |
URL | |
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 |
|---|---|
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.
