github.com/cli/cli@v1.14.1-0.20210902173923-1af6a669e342/pkg/cmd/pr/view/fixtures/prViewPreviewSingleComment.json (about)

     1  {
     2    "data": {
     3      "repository": {
     4        "pullRequest": {
     5          "number": 12,
     6          "title": "some title",
     7          "state": "OPEN",
     8          "body": "some body",
     9          "url": "https://github.com/OWNER/REPO/pull/12",
    10          "author": {
    11            "login": "nobody"
    12          },
    13          "additions": 100,
    14          "deletions": 10,
    15          "assignees": {
    16            "nodes": [],
    17            "totalcount": 0
    18          },
    19          "labels": {
    20            "nodes": [],
    21            "totalcount": 0
    22          },
    23          "projectcards": {
    24            "nodes": [],
    25            "totalcount": 0
    26          },
    27          "milestone": {
    28            "title": ""
    29          },
    30          "commits": {
    31            "totalCount": 12
    32          },
    33          "baseRefName": "master",
    34          "headRefName": "blueberries",
    35          "headRepositoryOwner": {
    36            "login": "hubot"
    37          },
    38          "isCrossRepository": true,
    39          "isDraft": false,
    40          "reactionGroups": [
    41            {
    42              "content": "CONFUSED",
    43              "users": {
    44                "totalCount": 1
    45              }
    46            },
    47            {
    48              "content": "EYES",
    49              "users": {
    50                "totalCount": 2
    51              }
    52            },
    53            {
    54              "content": "HEART",
    55              "users": {
    56                "totalCount": 3
    57              }
    58            },
    59            {
    60              "content": "HOORAY",
    61              "users": {
    62                "totalCount": 0
    63              }
    64            },
    65            {
    66              "content": "LAUGH",
    67              "users": {
    68                "totalCount": 0
    69              }
    70            },
    71            {
    72              "content": "ROCKET",
    73              "users": {
    74                "totalCount": 0
    75              }
    76            },
    77            {
    78              "content": "THUMBS_DOWN",
    79              "users": {
    80                "totalCount": 0
    81              }
    82            },
    83            {
    84              "content": "THUMBS_UP",
    85              "users": {
    86                "totalCount": 0
    87              }
    88            }
    89          ],
    90          "comments": {
    91            "nodes": [
    92              {
    93                "author": {
    94                  "login": "marseilles"
    95                },
    96                "authorAssociation": "COLLABORATOR",
    97                "body": "Comment 5",
    98                "createdAt": "2020-01-09T12:00:00Z",
    99                "includesCreatedEdit": false,
   100                "reactionGroups": [
   101                  {
   102                    "content": "CONFUSED",
   103                    "users": {
   104                      "totalCount": 0
   105                    }
   106                  },
   107                  {
   108                    "content": "EYES",
   109                    "users": {
   110                      "totalCount": 0
   111                    }
   112                  },
   113                  {
   114                    "content": "HEART",
   115                    "users": {
   116                      "totalCount": 0
   117                    }
   118                  },
   119                  {
   120                    "content": "HOORAY",
   121                    "users": {
   122                      "totalCount": 4
   123                    }
   124                  },
   125                  {
   126                    "content": "LAUGH",
   127                    "users": {
   128                      "totalCount": 5
   129                    }
   130                  },
   131                  {
   132                    "content": "ROCKET",
   133                    "users": {
   134                      "totalCount": 6
   135                    }
   136                  },
   137                  {
   138                    "content": "THUMBS_DOWN",
   139                    "users": {
   140                      "totalCount": 0
   141                    }
   142                  },
   143                  {
   144                    "content": "THUMBS_UP",
   145                    "users": {
   146                      "totalCount": 0
   147                    }
   148                  }
   149                ]
   150              }
   151            ],
   152            "totalCount": 6
   153          }
   154        }
   155      }
   156    }
   157  }