...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Get status of whether Pages
...
is enabled for specified repository and branch/tag
...
Code Block | ||||
---|---|---|---|---|
| theme||||
Confluence |
Expand | ||
---|---|---|
| ||
curl -u username:password -H "Content-Type:application/json"http://bitbucket.example.com/rest/latest/pages-settings/PROJECT_1/rep_1/enabled?refId=refs/heads/master |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Enable Pages
...
for specified repository and branch/tag
Code Block | |||||
---|---|---|---|---|---|
| theme | Confluence||||
PUT /rest/latest/pages-settings/{projectKey}/{repositorySlug}/enabled |
Expand | ||
---|---|---|
| ||
curl -u username:password -H "Content-Type:application/json" -X PUT http://bitbucket.example.com/rest/latest/pages-settings/PROJECT_1/rep_1/enabled?refId=refs/heads/master |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Disable Pages
...
for specified repository and branch/tag
Code Block | ||||
---|---|---|---|---|
| theme||||
Confluence |
Expand | ||
---|---|---|
| ||
curl -u username:password -H "Content-Type:application/json" -X DELETEhttp://bitbucket.example.com/rest/latest/pages-settings/PROJECT_1/rep_1/enabled?refId=refs/heads/master |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Enable Pages support for any new branch in the specified repository
Code Block | ||
---|---|---|
| ||
theme | Confluence |
Expand | ||
---|---|---|
| ||
curl -u username:password -H "Content-Type:application/json" -X PUT http://bitbucket.example.com/rest/latest/pages-settings/PROJECT_1/rep_1/enabled-for-new-branches |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Disable Pages support for new branches in the specified repository
Code Block | |||||
---|---|---|---|---|---|
| theme | Confluence||||
DELETE /rest/latest/pages-settings/{projectKey}/{repositorySlug}/enabled-for-new-branches |
Expand | ||
---|---|---|
| ||
curl -u username:password -H "Content-Type:application/json" -X DELETE http://bitbucket.example.com/rest/latest/pages-settings/PROJECT_1/rep_1/enabled-for-new-branches |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Enable Pages support for any new tag in the specified repository
Code Block | ||||
---|---|---|---|---|
| theme||||
Confluence |
Expand | ||
---|---|---|
| ||
curl -u username:password -H "Content-Type:application/json" -X PUT http://bitbucket.example.com/rest/latest/pages-settings/PROJECT_1/rep_1/enabled-for-new-tags |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Disable Pages support for new tags in the specified repository
Code Block | |||||
---|---|---|---|---|---|
| theme | Confluence||||
DELETE /rest/latest/pages-settings/{projectKey}/{repositorySlug}/enabled-for-new-tags |
Expand | ||
---|---|---|
| ||
curl -u username:password -H "Content-Type:application/json" -X DELETE http://bitbucket.example.com/rest/latest/pages-settings/PROJECT_1/rep_1/enabled-for-new-tags |
Expand | |||||
---|---|---|---|---|---|
| |||||
|