pull_request.json 3.56 KB
Newer Older
1 2 3 4 5 6 7
{
   "author":{
      "approved":false,
      "role":"AUTHOR",
      "status":"UNAPPROVED",
      "user":{
         "active":true,
8
         "displayName":"displayName",
9
         "emailAddress":"joe.montana@49ers.com",
10
         "username": "username",
11 12 13 14 15 16 17 18 19
         "id":1,
         "links":{
            "self":[
               {
                  "href":"http://localhost:7990/users/root"
               }
            ]
         },
         "name":"root",
20
         "slug":"slug",
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
         "type":"NORMAL"
      }
   },
   "closed":true,
   "closedDate":1530600648850,
   "createdDate":1530600635690,
   "description":"Test",
   "fromRef":{
      "displayId":"root/CODE_OF_CONDUCTmd-1530600625006",
      "id":"refs/heads/root/CODE_OF_CONDUCTmd-1530600625006",
      "latestCommit":"074e2b4dddc5b99df1bf9d4a3f66cfc15481fdc8",
      "repository":{
         "forkable":true,
         "id":1,
         "links":{
            "clone":[
               {
                  "href":"http://root@localhost:7990/scm/test/rouge.git",
                  "name":"http"
               },
               {
                  "href":"ssh://git@localhost:7999/test/rouge.git",
                  "name":"ssh"
               }
            ],
            "self":[
               {
                  "href":"http://localhost:7990/projects/TEST/repos/rouge/browse"
               }
            ]
         },
         "name":"rouge",
         "project":{
            "description":"Test",
            "id":1,
            "key":"TEST",
            "links":{
               "self":[
                  {
                     "href":"http://localhost:7990/projects/TEST"
                  }
               ]
            },
            "name":"test",
            "public":false,
            "type":"NORMAL"
         },
         "public":false,
         "scmId":"git",
         "slug":"rouge",
         "state":"AVAILABLE",
         "statusMessage":"Available"
      }
   },
   "id":7,
   "links":{
      "self":[
         {
            "href":"http://localhost:7990/projects/TEST/repos/rouge/pull-requests/7"
         }
      ]
   },
   "locked":false,
   "open":false,
   "participants":[

   ],
   "properties":{
      "commentCount":1,
      "openTaskCount":0,
      "resolvedTaskCount":0
   },
   "reviewers":[

   ],
   "state":"MERGED",
   "title":"Added a new line",
   "toRef":{
      "displayId":"master",
      "id":"refs/heads/master",
      "latestCommit":"839fa9a2d434eb697815b8fcafaecc51accfdbbc",
      "repository":{
         "forkable":true,
         "id":1,
         "links":{
            "clone":[
               {
                  "href":"http://root@localhost:7990/scm/test/rouge.git",
                  "name":"http"
               },
               {
                  "href":"ssh://git@localhost:7999/test/rouge.git",
                  "name":"ssh"
               }
            ],
            "self":[
               {
                  "href":"http://localhost:7990/projects/TEST/repos/rouge/browse"
               }
            ]
         },
         "name":"rouge",
         "project":{
            "description":"Test",
            "id":1,
            "key":"TEST",
            "links":{
               "self":[
                  {
                     "href":"http://localhost:7990/projects/TEST"
                  }
               ]
            },
            "name":"test",
            "public":false,
            "type":"NORMAL"
         },
         "public":false,
         "scmId":"git",
         "slug":"rouge",
         "state":"AVAILABLE",
         "statusMessage":"Available"
      }
   },
   "updatedDate":1530600648850,
   "version":2
}