|
278 | 278 | }, |
279 | 279 | "merge_commit": null, |
280 | 280 | "closed_by": null |
| 281 | + }, |
| 282 | + { |
| 283 | + "description": "PR with destination branch deleted", |
| 284 | + "links": { |
| 285 | + "decline": { |
| 286 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/decline" |
| 287 | + }, |
| 288 | + "commits": { |
| 289 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/commits" |
| 290 | + }, |
| 291 | + "self": { |
| 292 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3" |
| 293 | + }, |
| 294 | + "comments": { |
| 295 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/comments" |
| 296 | + }, |
| 297 | + "merge": { |
| 298 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/merge" |
| 299 | + }, |
| 300 | + "html": { |
| 301 | + "href": "https://bitbucket.org/amuniz/test-repos/pull-requests/3" |
| 302 | + }, |
| 303 | + "activity": { |
| 304 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/activity" |
| 305 | + }, |
| 306 | + "diff": { |
| 307 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/diff" |
| 308 | + }, |
| 309 | + "approve": { |
| 310 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/approve" |
| 311 | + }, |
| 312 | + "statuses": { |
| 313 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/pullrequests/3/statuses" |
| 314 | + } |
| 315 | + }, |
| 316 | + "title": "Bugfix 123", |
| 317 | + "close_source_branch": true, |
| 318 | + "type": "pullrequest", |
| 319 | + "id": 3, |
| 320 | + "destination": { |
| 321 | + "commit": { |
| 322 | + "hash": "bf4f4ce8a3a8", |
| 323 | + "type": "commit", |
| 324 | + "links": { |
| 325 | + "self": { |
| 326 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/commit/bf4f4ce8a3a8" |
| 327 | + }, |
| 328 | + "html": { |
| 329 | + "href": "https://bitbucket.org/amuniz/test-repos/commits/bf4f4ce8a3a8" |
| 330 | + } |
| 331 | + } |
| 332 | + }, |
| 333 | + "repository": { |
| 334 | + "links": { |
| 335 | + "self": { |
| 336 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos" |
| 337 | + }, |
| 338 | + "html": { |
| 339 | + "href": "https://bitbucket.org/amuniz/test-repos" |
| 340 | + }, |
| 341 | + "avatar": { |
| 342 | + "href": "https://bytebucket.org/ravatar/%7B3deb8c29-778a-450c-8f69-3e50a18079df%7D?ts=default" |
| 343 | + } |
| 344 | + }, |
| 345 | + "type": "repository", |
| 346 | + "name": "test-repos", |
| 347 | + "full_name": "amuniz/test-repos", |
| 348 | + "uuid": "{3deb8c29-778a-450c-8f69-3e50a18079df}" |
| 349 | + }, |
| 350 | + "branch": null |
| 351 | + }, |
| 352 | + "created_on": "2018-09-21T14:57:59.455870+00:00", |
| 353 | + "summary": { |
| 354 | + "raw": "PR with destination branch deleted", |
| 355 | + "markup": "markdown", |
| 356 | + "html": "<p>PR with destination branch deleted</p>", |
| 357 | + "type": "rendered" |
| 358 | + }, |
| 359 | + "source": { |
| 360 | + "commit": { |
| 361 | + "hash": "bf0e8b7962c4", |
| 362 | + "type": "commit", |
| 363 | + "links": { |
| 364 | + "self": { |
| 365 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/commit/bf0e8b7962c4" |
| 366 | + }, |
| 367 | + "html": { |
| 368 | + "href": "https://bitbucket.org/amuniz/test-repos/commits/bf0e8b7962c4" |
| 369 | + } |
| 370 | + } |
| 371 | + }, |
| 372 | + "repository": { |
| 373 | + "links": { |
| 374 | + "self": { |
| 375 | + "href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos" |
| 376 | + }, |
| 377 | + "html": { |
| 378 | + "href": "https://bitbucket.org/amuniz/test-repos" |
| 379 | + }, |
| 380 | + "avatar": { |
| 381 | + "href": "https://bytebucket.org/ravatar/%7B3deb8c29-778a-450c-8f69-3e50a18079df%7D?ts=default" |
| 382 | + } |
| 383 | + }, |
| 384 | + "type": "repository", |
| 385 | + "name": "test-repos", |
| 386 | + "full_name": "amuniz/test-repos", |
| 387 | + "uuid": "{3deb8c29-778a-450c-8f69-3e50a18079df}" |
| 388 | + }, |
| 389 | + "branch": { |
| 390 | + "name": "bugfix/123" |
| 391 | + } |
| 392 | + }, |
| 393 | + "comment_count": 0, |
| 394 | + "state": "OPEN", |
| 395 | + "task_count": 0, |
| 396 | + "reason": "", |
| 397 | + "updated_on": "2018-09-21T14:57:59.488719+00:00", |
| 398 | + "author": { |
| 399 | + "username": "amuniz", |
| 400 | + "display_name": "Nikolas Falco", |
| 401 | + "account_id": "557058:ca1cd232-2017-4216-94be-99637899e18d", |
| 402 | + "links": { |
| 403 | + "self": { |
| 404 | + "href": "https://api.bitbucket.org/2.0/users/amuniz" |
| 405 | + }, |
| 406 | + "html": { |
| 407 | + "href": "https://bitbucket.org/amuniz/" |
| 408 | + }, |
| 409 | + "avatar": { |
| 410 | + "href": "https://bitbucket.org/account/amuniz/avatar/" |
| 411 | + } |
| 412 | + }, |
| 413 | + "nickname": "amuniz", |
| 414 | + "type": "user", |
| 415 | + "uuid": "{644c7fc2-b15a-4445-9f89-35390694fac9}" |
| 416 | + }, |
| 417 | + "merge_commit": null, |
| 418 | + "closed_by": null |
281 | 419 | }], |
282 | 420 | "page": 1, |
283 | 421 | "size": 2 |
|
0 commit comments