github.com/gfleury/gobbs@v0.0.0-20200831213239-44ca2b94c1a1/pullrequests/mocked_responses/GetPage.json (about)

     1  {
     2      "size": 1,
     3      "limit": 25,
     4      "isLastPage": true,
     5      "values": [
     6          {
     7              "id": 101,
     8              "version": 1,
     9              "title": "Talking Nerdy",
    10              "description": "It’s a kludge, but put the tuple from the database in the cache.",
    11              "state": "OPEN",
    12              "open": true,
    13              "closed": false,
    14              "createdDate": 1359075920,
    15              "updatedDate": 1359085920,
    16              "fromRef": {
    17                  "id": "refs/heads/feature-ABC-123",
    18                  "repository": {
    19                      "slug": "my-repo",
    20                      "name": null,
    21                      "project": {
    22                          "key": "PRJ"
    23                      }
    24                  }
    25              },
    26              "toRef": {
    27                  "id": "refs/heads/master",
    28                  "repository": {
    29                      "slug": "my-repo",
    30                      "name": null,
    31                      "project": {
    32                          "key": "PRJ"
    33                      }
    34                  }
    35              },
    36              "locked": false,
    37              "author": {
    38                  "user": {
    39                      "name": "tom",
    40                      "emailAddress": "tom@example.com",
    41                      "id": 115026,
    42                      "displayName": "Tom",
    43                      "active": true,
    44                      "slug": "tom",
    45                      "type": "NORMAL"
    46                  },
    47                  "role": "AUTHOR",
    48                  "approved": true,
    49                  "status": "APPROVED"
    50              },
    51              "reviewers": [
    52                  {
    53                      "user": {
    54                          "name": "jcitizen",
    55                          "emailAddress": "jane@example.com",
    56                          "id": 101,
    57                          "displayName": "Jane Citizen",
    58                          "active": true,
    59                          "slug": "jcitizen",
    60                          "type": "NORMAL"
    61                      },
    62                      "lastReviewedCommit": "7549846524f8aed2bd1c0249993ae1bf9d3c9998",
    63                      "role": "REVIEWER",
    64                      "approved": true,
    65                      "status": "APPROVED"
    66                  }
    67              ],
    68              "participants": [
    69                  {
    70                      "user": {
    71                          "name": "dick",
    72                          "emailAddress": "dick@example.com",
    73                          "id": 3083181,
    74                          "displayName": "Dick",
    75                          "active": true,
    76                          "slug": "dick",
    77                          "type": "NORMAL"
    78                      },
    79                      "role": "PARTICIPANT",
    80                      "approved": false,
    81                      "status": "UNAPPROVED"
    82                  },
    83                  {
    84                      "user": {
    85                          "name": "harry",
    86                          "emailAddress": "harry@example.com",
    87                          "id": 99049120,
    88                          "displayName": "Harry",
    89                          "active": true,
    90                          "slug": "harry",
    91                          "type": "NORMAL"
    92                      },
    93                      "role": "PARTICIPANT",
    94                      "approved": true,
    95                      "status": "APPROVED"
    96                  }
    97              ],
    98              "links": {
    99                  "self": [
   100                      {
   101                          "href": "http://link/to/pullrequest"
   102                      }
   103                  ]
   104              }
   105          }
   106      ],
   107      "start": 0
   108  }