Mercurial > prosody-modules
comparison mod_pubsub_forgejo/webhook-examples/release/content.json @ 6175:131b8bfbefb4
mod_pubsub_forgejo: new module for forgejo webhooks
| author | nicoco <nicoco@nicoco.fr> |
|---|---|
| date | Mon, 17 Feb 2025 23:28:05 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 6174:6d5a19bdd718 | 6175:131b8bfbefb4 |
|---|---|
| 1 { | |
| 2 "action": "published", | |
| 3 "release": { | |
| 4 "id": 2802402, | |
| 5 "tag_name": "v0.2.0", | |
| 6 "target_commitish": "main", | |
| 7 "name": "broken", | |
| 8 "body": "It's broken! But I want to test the release webhook.", | |
| 9 "url": "https://codeberg.org/api/v1/repos/slidge/slidgnal/releases/2802402", | |
| 10 "html_url": "https://codeberg.org/slidge/slidgnal/releases/tag/v0.2.0", | |
| 11 "tarball_url": "https://codeberg.org/slidge/slidgnal/archive/v0.2.0.tar.gz", | |
| 12 "zipball_url": "https://codeberg.org/slidge/slidgnal/archive/v0.2.0.zip", | |
| 13 "hide_archive_links": false, | |
| 14 "upload_url": "https://codeberg.org/api/v1/repos/slidge/slidgnal/releases/2802402/assets", | |
| 15 "draft": false, | |
| 16 "prerelease": false, | |
| 17 "created_at": "2025-02-10T23:19:23Z", | |
| 18 "published_at": "2025-02-10T23:19:23Z", | |
| 19 "author": { | |
| 20 "id": 64076, | |
| 21 "login": "nicoco", | |
| 22 "login_name": "", | |
| 23 "source_id": 0, | |
| 24 "full_name": "", | |
| 25 "email": "nicoco@noreply.codeberg.org", | |
| 26 "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5", | |
| 27 "html_url": "https://codeberg.org/nicoco", | |
| 28 "language": "", | |
| 29 "is_admin": false, | |
| 30 "last_login": "0001-01-01T00:00:00Z", | |
| 31 "created": "2022-09-12T11:13:13Z", | |
| 32 "restricted": false, | |
| 33 "active": false, | |
| 34 "prohibit_login": false, | |
| 35 "location": "Nice, France", | |
| 36 "pronouns": "", | |
| 37 "website": "https://nicoco.fr", | |
| 38 "description": "wannabe-hacker", | |
| 39 "visibility": "public", | |
| 40 "followers_count": 2, | |
| 41 "following_count": 0, | |
| 42 "starred_repos_count": 4, | |
| 43 "username": "nicoco" | |
| 44 }, | |
| 45 "assets": [], | |
| 46 "archive_download_count": { | |
| 47 "zip": 0, | |
| 48 "tar_gz": 0 | |
| 49 } | |
| 50 }, | |
| 51 "repository": { | |
| 52 "id": 301855, | |
| 53 "owner": { | |
| 54 "id": 205842, | |
| 55 "login": "slidge", | |
| 56 "login_name": "", | |
| 57 "source_id": 0, | |
| 58 "full_name": "", | |
| 59 "email": "", | |
| 60 "avatar_url": "https://codeberg.org/avatars/aa0eeeb5fe173938bdc665be92bf605efa1e8f4a905bc3327e4d5c7eddf584e5", | |
| 61 "html_url": "https://codeberg.org/slidge", | |
| 62 "language": "", | |
| 63 "is_admin": false, | |
| 64 "last_login": "0001-01-01T00:00:00Z", | |
| 65 "created": "2024-08-30T14:16:14Z", | |
| 66 "restricted": false, | |
| 67 "active": false, | |
| 68 "prohibit_login": false, | |
| 69 "location": "", | |
| 70 "pronouns": "", | |
| 71 "website": "https://slidge.im", | |
| 72 "description": "", | |
| 73 "visibility": "public", | |
| 74 "followers_count": 5, | |
| 75 "following_count": 0, | |
| 76 "starred_repos_count": 0, | |
| 77 "username": "slidge" | |
| 78 }, | |
| 79 "name": "slidgnal", | |
| 80 "full_name": "slidge/slidgnal", | |
| 81 "description": "A feature-rich Signal to XMPP gateway", | |
| 82 "empty": false, | |
| 83 "private": false, | |
| 84 "fork": false, | |
| 85 "template": false, | |
| 86 "parent": null, | |
| 87 "mirror": false, | |
| 88 "size": 471, | |
| 89 "language": "", | |
| 90 "languages_url": "https://codeberg.org/api/v1/repos/slidge/slidgnal/languages", | |
| 91 "html_url": "https://codeberg.org/slidge/slidgnal", | |
| 92 "url": "https://codeberg.org/api/v1/repos/slidge/slidgnal", | |
| 93 "link": "", | |
| 94 "ssh_url": "git@codeberg.org:slidge/slidgnal.git", | |
| 95 "clone_url": "https://codeberg.org/slidge/slidgnal.git", | |
| 96 "original_url": "", | |
| 97 "website": "", | |
| 98 "stars_count": 0, | |
| 99 "forks_count": 0, | |
| 100 "watchers_count": 6, | |
| 101 "open_issues_count": 5, | |
| 102 "open_pr_counter": 0, | |
| 103 "release_counter": 1, | |
| 104 "default_branch": "main", | |
| 105 "archived": false, | |
| 106 "created_at": "2025-01-10T14:37:52Z", | |
| 107 "updated_at": "2025-02-09T06:26:00Z", | |
| 108 "archived_at": "1970-01-01T00:00:00Z", | |
| 109 "permissions": { | |
| 110 "admin": true, | |
| 111 "push": true, | |
| 112 "pull": true | |
| 113 }, | |
| 114 "has_issues": true, | |
| 115 "internal_tracker": { | |
| 116 "enable_time_tracker": true, | |
| 117 "allow_only_contributors_to_track_time": true, | |
| 118 "enable_issue_dependencies": true | |
| 119 }, | |
| 120 "has_wiki": false, | |
| 121 "wiki_branch": "main", | |
| 122 "globally_editable_wiki": false, | |
| 123 "has_pull_requests": true, | |
| 124 "has_projects": false, | |
| 125 "has_releases": true, | |
| 126 "has_packages": true, | |
| 127 "has_actions": false, | |
| 128 "ignore_whitespace_conflicts": false, | |
| 129 "allow_merge_commits": true, | |
| 130 "allow_rebase": true, | |
| 131 "allow_rebase_explicit": true, | |
| 132 "allow_squash_merge": true, | |
| 133 "allow_fast_forward_only_merge": true, | |
| 134 "allow_rebase_update": true, | |
| 135 "default_delete_branch_after_merge": false, | |
| 136 "default_merge_style": "merge", | |
| 137 "default_allow_maintainer_edit": false, | |
| 138 "default_update_style": "merge", | |
| 139 "avatar_url": "", | |
| 140 "internal": false, | |
| 141 "mirror_interval": "", | |
| 142 "object_format_name": "sha1", | |
| 143 "mirror_updated": "0001-01-01T00:00:00Z", | |
| 144 "repo_transfer": null, | |
| 145 "topics": [ | |
| 146 "bridge", | |
| 147 "gateway", | |
| 148 "instant-messaging", | |
| 149 "signal", | |
| 150 "slidge", | |
| 151 "xmpp" | |
| 152 ] | |
| 153 }, | |
| 154 "sender": { | |
| 155 "id": 64076, | |
| 156 "login": "nicoco", | |
| 157 "login_name": "", | |
| 158 "source_id": 0, | |
| 159 "full_name": "", | |
| 160 "email": "nicoco@noreply.codeberg.org", | |
| 161 "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5", | |
| 162 "html_url": "https://codeberg.org/nicoco", | |
| 163 "language": "", | |
| 164 "is_admin": false, | |
| 165 "last_login": "0001-01-01T00:00:00Z", | |
| 166 "created": "2022-09-12T11:13:13Z", | |
| 167 "restricted": false, | |
| 168 "active": false, | |
| 169 "prohibit_login": false, | |
| 170 "location": "Nice, France", | |
| 171 "pronouns": "", | |
| 172 "website": "https://nicoco.fr", | |
| 173 "description": "wannabe-hacker", | |
| 174 "visibility": "public", | |
| 175 "followers_count": 2, | |
| 176 "following_count": 0, | |
| 177 "starred_repos_count": 4, | |
| 178 "username": "nicoco" | |
| 179 } | |
| 180 } |
