github.com/jenkins-x/jx/v2@v2.1.155/pkg/gits/test_data/gitlab/update-merge-request.json (about) 1 { 2 "id": 1, 3 "iid": 12, 4 "project_id": 3, 5 "title": "test1", 6 "description": "fixed login page css paddings", 7 "state": "merged", 8 "created_at": "2017-04-29T08:46:00Z", 9 "updated_at": "2017-04-29T08:46:00Z", 10 "target_branch": "master", 11 "source_branch": "test1", 12 "upvotes": 0, 13 "downvotes": 0, 14 "author": { 15 "id": 1, 16 "name": "Administrator", 17 "username": "admin", 18 "state": "active", 19 "avatar_url": null, 20 "web_url" : "https://gitlab.example.com/admin" 21 }, 22 "assignee": { 23 "id": 1, 24 "name": "Administrator", 25 "username": "admin", 26 "state": "active", 27 "avatar_url": null, 28 "web_url" : "https://gitlab.example.com/admin" 29 }, 30 "assignees": [{ 31 "name": "Miss Monserrate Beier", 32 "username": "axel.block", 33 "id": 12, 34 "state": "active", 35 "avatar_url": "http://www.gravatar.com/avatar/46f6f7dc858ada7be1853f7fb96e81da?s=80&d=identicon", 36 "web_url": "https://gitlab.example.com/axel.block" 37 }], 38 "source_project_id": 2, 39 "target_project_id": 3, 40 "labels": [ 41 "Community contribution", 42 "Manage" 43 ], 44 "work_in_progress": false, 45 "milestone": { 46 "id": 5, 47 "iid": 1, 48 "project_id": 3, 49 "title": "v2.0", 50 "description": "Assumenda aut placeat expedita exercitationem labore sunt enim earum.", 51 "state": "closed", 52 "created_at": "2015-02-02T19:49:26.013Z", 53 "updated_at": "2015-02-02T19:49:26.013Z", 54 "due_date": "2018-09-22", 55 "start_date": "2018-08-08", 56 "web_url": "https://gitlab.example.com/my-group/my-project/milestones/1" 57 }, 58 "merge_when_pipeline_succeeds": true, 59 "merge_status": "can_be_merged", 60 "merge_error": null, 61 "sha": "8888888888888888888888888888888888888888", 62 "merge_commit_sha": null, 63 "user_notes_count": 1, 64 "discussion_locked": null, 65 "should_remove_source_branch": true, 66 "force_remove_source_branch": false, 67 "allow_collaboration": false, 68 "allow_maintainer_to_push": false, 69 "web_url": "http://gitlab.example.com/my-group/my-project/merge_requests/1", 70 "time_stats": { 71 "time_estimate": 0, 72 "total_time_spent": 0, 73 "human_time_estimate": null, 74 "human_total_time_spent": null 75 }, 76 "squash": false, 77 "subscribed": false, 78 "changes_count": "1", 79 "merged_by": { 80 "id": 87854, 81 "name": "Douwe Maan", 82 "username": "DouweM", 83 "state": "active", 84 "avatar_url": "https://gitlab.example.com/uploads/-/system/user/avatar/87854/avatar.png", 85 "web_url": "https://gitlab.com/DouweM" 86 }, 87 "merged_at": "2018-09-07T11:16:17.520Z", 88 "closed_by": null, 89 "closed_at": null, 90 "latest_build_started_at": "2018-09-07T07:27:38.472Z", 91 "latest_build_finished_at": "2018-09-07T08:07:06.012Z", 92 "first_deployed_to_production_at": null, 93 "pipeline": { 94 "id": 29626725, 95 "sha": "2be7ddb704c7b6b83732fdd5b9f09d5a397b5f8f", 96 "ref": "patch-28", 97 "status": "success", 98 "web_url": "https://gitlab.example.com/my-group/my-project/pipelines/29626725" 99 }, 100 "diff_refs": { 101 "base_sha": "c380d3acebd181f13629a25d2e2acca46ffe1e00", 102 "head_sha": "2be7ddb704c7b6b83732fdd5b9f09d5a397b5f8f", 103 "start_sha": "c380d3acebd181f13629a25d2e2acca46ffe1e00" 104 }, 105 "diverged_commits_count": 2, 106 "task_completion_status":{ 107 "count":0, 108 "completed_count":0 109 } 110 }