github.com/samcontesse/bitbucket-cascade-merge@v0.0.0-20230227091349-c5ec053235b5/test/fixtures/hook-pull-request-created.json (about) 1 { 2 "pullrequest": { 3 "rendered": { 4 "description": { 5 "raw": "", 6 "markup": "markdown", 7 "html": "", 8 "type": "rendered" 9 }, 10 "title": { 11 "raw": "revert commit", 12 "markup": "markdown", 13 "html": "<p>revert commit</p>", 14 "type": "rendered" 15 } 16 }, 17 "type": "pullrequest", 18 "description": "", 19 "links": { 20 "decline": { 21 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3/decline" 22 }, 23 "diffstat": { 24 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/diffstat/morphean-sa/s3-poc:ef824613061b%0D420b26f53923?from_pullrequest_id=3" 25 }, 26 "commits": { 27 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3/commits" 28 }, 29 "self": { 30 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3" 31 }, 32 "comments": { 33 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3/comments" 34 }, 35 "merge": { 36 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3/merge" 37 }, 38 "html": { 39 "href": "https://bitbucket.org/morphean-sa/s3-poc/pull-requests/3" 40 }, 41 "activity": { 42 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3/activity" 43 }, 44 "diff": { 45 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/diff/morphean-sa/s3-poc:ef824613061b%0D420b26f53923?from_pullrequest_id=3" 46 }, 47 "approve": { 48 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3/approve" 49 }, 50 "statuses": { 51 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/pullrequests/3/statuses" 52 } 53 }, 54 "title": "revert commit", 55 "close_source_branch": true, 56 "reviewers": [], 57 "id": 3, 58 "destination": { 59 "commit": { 60 "hash": "420b26f53923", 61 "type": "commit", 62 "links": { 63 "self": { 64 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/commit/420b26f53923" 65 }, 66 "html": { 67 "href": "https://bitbucket.org/morphean-sa/s3-poc/commits/420b26f53923" 68 } 69 } 70 }, 71 "repository": { 72 "links": { 73 "self": { 74 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc" 75 }, 76 "html": { 77 "href": "https://bitbucket.org/morphean-sa/s3-poc" 78 }, 79 "avatar": { 80 "href": "https://bytebucket.org/ravatar/%7B787fe82b-970a-4349-bae9-8d07306b18cc%7D?ts=default" 81 } 82 }, 83 "type": "repository", 84 "name": "s3-poc", 85 "full_name": "morphean-sa/s3-poc", 86 "uuid": "{787fe82b-970a-4349-bae9-8d07306b18cc}" 87 }, 88 "branch": { 89 "name": "develop" 90 } 91 }, 92 "created_on": "2020-02-25T21:19:59.257748+00:00", 93 "summary": { 94 "raw": "", 95 "markup": "markdown", 96 "html": "", 97 "type": "rendered" 98 }, 99 "source": { 100 "commit": { 101 "hash": "b393f468241f", 102 "type": "commit", 103 "links": { 104 "self": { 105 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/commit/b393f468241f" 106 }, 107 "html": { 108 "href": "https://bitbucket.org/morphean-sa/s3-poc/commits/b393f468241f" 109 } 110 } 111 }, 112 "repository": { 113 "links": { 114 "self": { 115 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc" 116 }, 117 "html": { 118 "href": "https://bitbucket.org/morphean-sa/s3-poc" 119 }, 120 "avatar": { 121 "href": "https://bytebucket.org/ravatar/%7B787fe82b-970a-4349-bae9-8d07306b18cc%7D?ts=default" 122 } 123 }, 124 "type": "repository", 125 "name": "s3-poc", 126 "full_name": "morphean-sa/s3-poc", 127 "uuid": "{787fe82b-970a-4349-bae9-8d07306b18cc}" 128 }, 129 "branch": { 130 "name": "feature/revert-readme" 131 } 132 }, 133 "comment_count": 0, 134 "state": "CREATED", 135 "task_count": 0, 136 "participants": [], 137 "reason": "", 138 "updated_on": "2020-02-25T21:20:10.062637+00:00", 139 "author": { 140 "display_name": "Samuel Contesse", 141 "account_id": "5e3c1d7ae2a2820c950d6381", 142 "links": { 143 "self": { 144 "href": "https://api.bitbucket.org/2.0/users/%7B572f862f-dbbd-4afa-aa77-e500d93fc513%7D" 145 }, 146 "html": { 147 "href": "https://bitbucket.org/%7B572f862f-dbbd-4afa-aa77-e500d93fc513%7D/" 148 }, 149 "avatar": { 150 "href": "https://secure.gravatar.com/avatar/c5a4c70e637cc4704ce02de4fcddc422?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FSC-3.png" 151 } 152 }, 153 "nickname": "Samuel Contesse", 154 "type": "user", 155 "uuid": "{572f862f-dbbd-4afa-aa77-e500d93fc513}" 156 }, 157 "merge_commit": { 158 "hash": "ef824613061b", 159 "type": "commit", 160 "links": { 161 "self": { 162 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc/commit/ef824613061b" 163 }, 164 "html": { 165 "href": "https://bitbucket.org/morphean-sa/s3-poc/commits/ef824613061b" 166 } 167 } 168 }, 169 "closed_by": { 170 "display_name": "Samuel Contesse", 171 "account_id": "5e3c1d7ae2a2820c950d6381", 172 "links": { 173 "self": { 174 "href": "https://api.bitbucket.org/2.0/users/%7B572f862f-dbbd-4afa-aa77-e500d93fc513%7D" 175 }, 176 "html": { 177 "href": "https://bitbucket.org/%7B572f862f-dbbd-4afa-aa77-e500d93fc513%7D/" 178 }, 179 "avatar": { 180 "href": "https://secure.gravatar.com/avatar/c5a4c70e637cc4704ce02de4fcddc422?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FSC-3.png" 181 } 182 }, 183 "nickname": "Samuel Contesse", 184 "type": "user", 185 "uuid": "{572f862f-dbbd-4afa-aa77-e500d93fc513}" 186 } 187 }, 188 "repository": { 189 "scm": "git", 190 "website": null, 191 "name": "s3-poc", 192 "links": { 193 "self": { 194 "href": "https://api.bitbucket.org/2.0/repositories/morphean-sa/s3-poc" 195 }, 196 "html": { 197 "href": "https://bitbucket.org/morphean-sa/s3-poc" 198 }, 199 "avatar": { 200 "href": "https://bytebucket.org/ravatar/%7B787fe82b-970a-4349-bae9-8d07306b18cc%7D?ts=default" 201 } 202 }, 203 "project": { 204 "key": "MOPOC", 205 "type": "project", 206 "uuid": "{6754a17e-22f7-4c14-a877-18cde4abb753}", 207 "links": { 208 "self": { 209 "href": "https://api.bitbucket.org/2.0/teams/morphean-sa/projects/MOPOC" 210 }, 211 "html": { 212 "href": "https://bitbucket.org/account/user/morphean-sa/projects/MOPOC" 213 }, 214 "avatar": { 215 "href": "https://bitbucket.org/account/user/morphean-sa/projects/MOPOC/avatar/32" 216 } 217 }, 218 "name": "Morphean - PoC" 219 }, 220 "full_name": "morphean-sa/s3-poc", 221 "owner": { 222 "username": "morphean-sa", 223 "display_name": "Morphean SA", 224 "type": "team", 225 "uuid": "{e353c7b3-3723-43f8-b5da-dbddc0d9f8cb}", 226 "links": { 227 "self": { 228 "href": "https://api.bitbucket.org/2.0/teams/%7Be353c7b3-3723-43f8-b5da-dbddc0d9f8cb%7D" 229 }, 230 "html": { 231 "href": "https://bitbucket.org/%7Be353c7b3-3723-43f8-b5da-dbddc0d9f8cb%7D/" 232 }, 233 "avatar": { 234 "href": "https://bitbucket.org/account/morphean-sa/avatar/" 235 } 236 } 237 }, 238 "type": "repository", 239 "is_private": true, 240 "uuid": "{787fe82b-970a-4349-bae9-8d07306b18cc}" 241 }, 242 "actor": { 243 "display_name": "Samuel Contesse", 244 "account_id": "5e3c1d7ae2a2820c950d6381", 245 "links": { 246 "self": { 247 "href": "https://api.bitbucket.org/2.0/users/%7B572f862f-dbbd-4afa-aa77-e500d93fc513%7D" 248 }, 249 "html": { 250 "href": "https://bitbucket.org/%7B572f862f-dbbd-4afa-aa77-e500d93fc513%7D/" 251 }, 252 "avatar": { 253 "href": "https://secure.gravatar.com/avatar/c5a4c70e637cc4704ce02de4fcddc422?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FSC-3.png" 254 } 255 }, 256 "nickname": "Samuel Contesse", 257 "type": "user", 258 "uuid": "{572f862f-dbbd-4afa-aa77-e500d93fc513}" 259 } 260 }