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