From e1217cbbea50522ac29cc06249edc6f4e0176ed4 Mon Sep 17 00:00:00 2001 From: chalro Date: Wed, 25 Jun 2025 19:47:52 +0200 Subject: [PATCH] Add catch_out --- catch_out | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 catch_out diff --git a/catch_out b/catch_out new file mode 100644 index 0000000..67f61bb --- /dev/null +++ b/catch_out @@ -0,0 +1,3 @@ +ValidnĂ­ webhook: repo:push +{'push': {'changes': [{'old': {'name': 'testing-webhook', 'target': {'type': 'commit', 'hash': '24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb', 'date': '2025-06-25T16:02:51+00:00', 'author': {'type': 'author', 'raw': 'Rostislav Chalupsky ', 'user': {'display_name': 'Rostislav Chalupsky', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/users/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D'}, 'avatar': {'href': 'https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/RC-2.png'}, 'html': {'href': 'https://bitbucket.org/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D/'}}, 'type': 'user', 'uuid': '{6bba875c-dc21-461e-bacd-fadc9ac1223c}', 'account_id': '712020:e903f34c-a7b3-4a7f-8fd2-6aeea63d8a7e', 'nickname': 'Rostislav Chalupsky'}}, 'committer': {}, 'message': 'rostislav.test.sh edited online with Bitbucket', 'summary': {'type': 'rendered', 'raw': 'rostislav.test.sh edited online with Bitbucket', 'markup': 'markdown', 'html': '

rostislav.test.sh edited online with Bitbucket

'}, 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/commits/24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}}, 'parents': [{'hash': '89ceae0ba48c23cfa4f3a6e63185e7c52e224e8a', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/89ceae0ba48c23cfa4f3a6e63185e7c52e224e8a'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/commits/89ceae0ba48c23cfa4f3a6e63185e7c52e224e8a'}}, 'type': 'commit'}], 'rendered': {}, 'properties': {}}, 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/refs/branches/testing-webhook'}, 'commits': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commits/testing-webhook'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/branch/testing-webhook'}, 'pullrequest_create': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/pull-requests/new?source=testing-webhook&t=1'}}, 'type': 'branch', 'merge_strategies': ['merge_commit', 'squash', 'fast_forward', 'squash_fast_forward', 'rebase_fast_forward', 'rebase_merge'], 'sync_strategies': ['merge_commit', 'rebase'], 'default_merge_strategy': 'merge_commit'}, 'new': {'name': 'testing-webhook', 'target': {'type': 'commit', 'hash': '70e636045a990d53a2d159fec4766abfb9f94d1a', 'date': '2025-06-25T17:43:13+00:00', 'author': {'type': 'author', 'raw': 'Rostislav Chalupsky ', 'user': {'display_name': 'Rostislav Chalupsky', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/users/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D'}, 'avatar': {'href': 'https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/RC-2.png'}, 'html': {'href': 'https://bitbucket.org/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D/'}}, 'type': 'user', 'uuid': '{6bba875c-dc21-461e-bacd-fadc9ac1223c}', 'account_id': '712020:e903f34c-a7b3-4a7f-8fd2-6aeea63d8a7e', 'nickname': 'Rostislav Chalupsky'}}, 'committer': {}, 'message': 'test.sh created online with Bitbucket', 'summary': {'type': 'rendered', 'raw': 'test.sh created online with Bitbucket', 'markup': 'markdown', 'html': '

test.sh created online with Bitbucket

'}, 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/70e636045a990d53a2d159fec4766abfb9f94d1a'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/commits/70e636045a990d53a2d159fec4766abfb9f94d1a'}}, 'parents': [{'hash': '24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/commits/24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}}, 'type': 'commit'}], 'rendered': {}, 'properties': {}}, 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/refs/branches/testing-webhook'}, 'commits': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commits/testing-webhook'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/branch/testing-webhook'}, 'pullrequest_create': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/pull-requests/new?source=testing-webhook&t=1'}}, 'type': 'branch', 'merge_strategies': ['merge_commit', 'squash', 'fast_forward', 'squash_fast_forward', 'rebase_fast_forward', 'rebase_merge'], 'sync_strategies': ['merge_commit', 'rebase'], 'default_merge_strategy': 'merge_commit'}, 'truncated': False, 'created': False, 'forced': False, 'closed': False, 'links': {'commits': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commits?include=70e636045a990d53a2d159fec4766abfb9f94d1a&exclude=24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}, 'diff': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/diff/70e636045a990d53a2d159fec4766abfb9f94d1a..24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/branches/compare/70e636045a990d53a2d159fec4766abfb9f94d1a..24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}}, 'commits': [{'type': 'commit', 'hash': '70e636045a990d53a2d159fec4766abfb9f94d1a', 'date': '2025-06-25T17:43:13+00:00', 'author': {'type': 'author', 'raw': 'Rostislav Chalupsky ', 'user': {'display_name': 'Rostislav Chalupsky', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/users/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D'}, 'avatar': {'href': 'https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/RC-2.png'}, 'html': {'href': 'https://bitbucket.org/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D/'}}, 'type': 'user', 'uuid': '{6bba875c-dc21-461e-bacd-fadc9ac1223c}', 'account_id': '712020:e903f34c-a7b3-4a7f-8fd2-6aeea63d8a7e', 'nickname': 'Rostislav Chalupsky'}}, 'committer': {}, 'message': 'test.sh created online with Bitbucket', 'summary': {'type': 'rendered', 'raw': 'test.sh created online with Bitbucket', 'markup': 'markdown', 'html': '

test.sh created online with Bitbucket

'}, 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/70e636045a990d53a2d159fec4766abfb9f94d1a'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/commits/70e636045a990d53a2d159fec4766abfb9f94d1a'}, 'diff': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/diff/70e636045a990d53a2d159fec4766abfb9f94d1a'}, 'approve': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/70e636045a990d53a2d159fec4766abfb9f94d1a/approve'}, 'comments': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/70e636045a990d53a2d159fec4766abfb9f94d1a/comments'}, 'statuses': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/70e636045a990d53a2d159fec4766abfb9f94d1a/statuses'}, 'patch': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/patch/70e636045a990d53a2d159fec4766abfb9f94d1a'}}, 'parents': [{'hash': '24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud/commit/24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud/commits/24aac7fa3ea26ab26e929c1f8249010f8bc4bbdb'}}, 'type': 'commit'}], 'rendered': {}, 'properties': {}}]}]}, 'repository': {'type': 'repository', 'full_name': 'commerzbank1/test_repository_cloud', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/repositories/commerzbank1/test_repository_cloud'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/test_repository_cloud'}, 'avatar': {'href': 'https://bytebucket.org/ravatar/%7Bc44f0cc8-e888-4a92-b025-5cd6a1920f29%7D?ts=default'}}, 'name': 'test_repository_cloud', 'scm': 'git', 'website': None, 'owner': {'display_name': 'commerzbank', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/workspaces/%7B6fdc7f20-17c2-42ea-8844-75bf782e50f5%7D'}, 'avatar': {'href': 'https://bitbucket.org/account/commerzbank1/avatar/'}, 'html': {'href': 'https://bitbucket.org/%7B6fdc7f20-17c2-42ea-8844-75bf782e50f5%7D/'}}, 'type': 'team', 'uuid': '{6fdc7f20-17c2-42ea-8844-75bf782e50f5}', 'username': 'commerzbank1'}, 'workspace': {'type': 'workspace', 'uuid': '{6fdc7f20-17c2-42ea-8844-75bf782e50f5}', 'name': 'commerzbank', 'slug': 'commerzbank1', 'links': {'avatar': {'href': 'https://bitbucket.org/workspaces/commerzbank1/avatar/?ts=1740987459'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/'}, 'self': {'href': 'https://api.bitbucket.org/2.0/workspaces/commerzbank1'}}}, 'is_private': True, 'project': {'type': 'project', 'key': 'ATT', 'uuid': '{f275d118-935c-41ea-82f3-0de2a9056929}', 'name': 'Atlassian Tools Test', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/workspaces/commerzbank1/projects/ATT'}, 'html': {'href': 'https://bitbucket.org/commerzbank1/workspace/projects/ATT'}, 'avatar': {'href': 'https://bitbucket.org/commerzbank1/workspace/projects/ATT/avatar/32?ts=1744011882'}}}, 'uuid': '{c44f0cc8-e888-4a92-b025-5cd6a1920f29}', 'parent': None}, 'actor': {'display_name': 'Rostislav Chalupsky', 'links': {'self': {'href': 'https://api.bitbucket.org/2.0/users/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D'}, 'avatar': {'href': 'https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/RC-2.png'}, 'html': {'href': 'https://bitbucket.org/%7B6bba875c-dc21-461e-bacd-fadc9ac1223c%7D/'}}, 'type': 'user', 'uuid': '{6bba875c-dc21-461e-bacd-fadc9ac1223c}', 'account_id': '712020:e903f34c-a7b3-4a7f-8fd2-6aeea63d8a7e', 'nickname': 'Rostislav Chalupsky'}} +104.192.140.246 - - [25/Jun/2025 17:43:16] "POST /webhook HTTP/1.1" 200 - \ No newline at end of file