atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

Add hook-scripts support for Repos + Server

Open tuxmaster5000 opened this issue 5 months ago • 1 comments

The needed endpoints:

Repos: List hook-scripts : https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-hook-scripts-get Remove hook-scripts: https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-hook-scripts-scriptid-delete Create/update hook-scripts: https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-hook-scripts-scriptid-put

Server itself: Remove hook-script: https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-system-maintenance/#api-api-latest-hook-scripts-scriptid-delete

Download script: https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-system-maintenance/#api-api-latest-hook-scripts-scriptid-content-get

Get infos about the script: https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-system-maintenance/#api-api-latest-hook-scripts-scriptid-get

Upload an script: https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-system-maintenance/#api-api-latest-hook-scripts-post

Update an script: https://developer.atlassian.com/server/bitbucket/rest/v906/api-group-system-maintenance/#api-api-latest-hook-scripts-scriptid-put

tuxmaster5000 avatar Jul 11 '25 11:07 tuxmaster5000

Thanks for suggestion @tuxmaster5000 , once I will have a capacity will do. Or I will be happy for your PR :)

gonchik avatar Aug 20 '25 22:08 gonchik