github.com/go-playground/webhooks/v6@v6.3.0/testdata/github/installation-repositories.json (about)

     1  {
     2      "action": "removed",
     3      "installation": {
     4        "id": 2,
     5        "account": {
     6          "login": "octocat",
     7          "id": 1,
     8          "node_id": "MDQ6VXNlcjE=",
     9          "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    10          "gravatar_id": "",
    11          "url": "https://api.github.com/users/octocat",
    12          "html_url": "https://github.com/octocat",
    13          "followers_url": "https://api.github.com/users/octocat/followers",
    14          "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    15          "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    16          "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    17          "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    18          "organizations_url": "https://api.github.com/users/octocat/orgs",
    19          "repos_url": "https://api.github.com/users/octocat/repos",
    20          "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    21          "received_events_url": "https://api.github.com/users/octocat/received_events",
    22          "type": "User",
    23          "site_admin": false
    24        },
    25        "repository_selection": "selected",
    26        "access_tokens_url": "https://api.github.com/installations/2/access_tokens",
    27        "repositories_url": "https://api.github.com/installation/repositories",
    28        "html_url": "https://github.com/settings/installations/2",
    29        "app_id": 5725,
    30        "target_id": 3880403,
    31        "target_type": "User",
    32        "permissions": {
    33          "metadata": "read",
    34          "contents": "read",
    35          "issues": "write"
    36        },
    37        "events": [
    38          "push",
    39          "pull_request"
    40        ],
    41        "created_at": "2022-03-02T18:02:51.000Z",
    42        "updated_at": "2022-03-02T18:02:51.000Z",
    43        "single_file_name": "config.yml"
    44      },
    45      "repository_selection": "selected",
    46      "repositories_added": [
    47    
    48      ],
    49      "repositories_removed": [
    50        {
    51          "id": 1296269,
    52          "name": "Hello-World",
    53          "full_name": "octocat/Hello-World",
    54          "private": false
    55        }
    56      ],
    57      "sender": {
    58        "login": "octocat",
    59        "id": 1,
    60        "node_id": "MDQ6VXNlcjE=",
    61        "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    62        "gravatar_id": "",
    63        "url": "https://api.github.com/users/octocat",
    64        "html_url": "https://github.com/octocat",
    65        "followers_url": "https://api.github.com/users/octocat/followers",
    66        "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    67        "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    68        "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    69        "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    70        "organizations_url": "https://api.github.com/users/octocat/orgs",
    71        "repos_url": "https://api.github.com/users/octocat/repos",
    72        "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    73        "received_events_url": "https://api.github.com/users/octocat/received_events",
    74        "type": "User",
    75        "site_admin": false
    76      }
    77    }