diff --git a/cache/api.github.com/webhook-events-and-payloads.html b/cache/api.github.com/webhook-events-and-payloads.html index d38a8019f..d10106118 100644 --- a/cache/api.github.com/webhook-events-and-payloads.html +++ b/cache/api.github.com/webhook-events-and-payloads.html @@ -30,15 +30,17 @@
- Enterprise accounts are available with GitHub Enterprise Cloud and GitHub - Enterprise Server. For more information, see "About enterprise accounts."
@@ -2900,6 +3022,7 @@object
- A new content reference is created
. A new content reference
- is created when the body or comment of an issue or pull request includes
- a URL that matches a configured content reference domain. For more
- information, see "Using content attachments" to learn more about content references and attachments.
-
- Webhook events are triggered based on the specificity of the domain you
- register. For example, if you register a subdomain
- (https://subdomain.example.com
) then only URLs for the
- subdomain trigger this event. If you register a domain
- (https://example.com
) then URLs for domain and all
- subdomains trigger this event. See "Create a content attachment" to create a new content attachment.
-
content_references:write
permission
- {
- "action": "created",
- "content_reference": {
- "id": 17,
- "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5",
- "reference": "https://errors.ai/"
- },
- "repository": {
- "id": 145551601,
- "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=",
- "name": "hello-world",
- "full_name": "octocoders/hello-world",
- "private": true,
- "owner": {
- "login": "Codertocat",
- "id": 7718702,
- "node_id": "MDQ6VXNlcjc3MTg3MDI=",
- "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/Codertocat",
- "html_url": "https://github.com/Codertocat",
- "followers_url": "https://api.github.com/users/Codertocat/followers",
- "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
- "organizations_url": "https://api.github.com/users/Codertocat/orgs",
- "repos_url": "https://api.github.com/users/Codertocat/repos",
- "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/Codertocat/received_events",
- "type": "User",
- "site_admin": true
- },
- "html_url": "https://github.com/Codertocat/hello-world",
- "description": null,
- "fork": false,
- "url": "https://api.github.com/repos/Codertocat/hello-world",
- "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks",
- "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}",
- "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}",
- "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams",
- "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks",
- "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}",
- "events_url": "https://api.github.com/repos/Codertocat/hello-world/events",
- "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}",
- "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}",
- "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags",
- "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}",
- "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}",
- "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}",
- "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}",
- "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}",
- "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages",
- "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers",
- "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors",
- "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers",
- "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription",
- "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}",
- "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}",
- "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}",
- "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}",
- "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}",
- "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}",
- "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges",
- "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}",
- "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads",
- "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}",
- "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}",
- "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}",
- "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}",
- "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}",
- "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments",
- "created_at": "2018-08-21T10:58:58Z",
- "updated_at": "2018-08-21T10:59:01Z",
- "pushed_at": "2018-08-21T10:59:00Z",
- "git_url": "git://github.com/Codertocat/hello-world.git",
- "ssh_url": "git@github.com:Codertocat/hello-world.git",
- "clone_url": "https://github.com/Codertocat/hello-world.git",
- "svn_url": "https://github.com/Codertocat/hello-world",
- "homepage": null,
- "size": 0,
- "stargazers_count": 0,
- "watchers_count": 0,
- "language": null,
- "has_issues": true,
- "has_projects": true,
- "has_downloads": true,
- "has_wiki": true,
- "has_pages": false,
- "forks_count": 0,
- "mirror_url": null,
- "archived": false,
- "open_issues_count": 2,
- "license": null,
- "forks": 0,
- "open_issues": 2,
- "watchers": 0,
- "default_branch": "master"
- },
- "sender": {
- "login": "Codertocat",
- "id": 7718702,
- "node_id": "MDQ6VXNlcjc3MTg3MDI=",
- "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/Codertocat",
- "html_url": "https://github.com/Codertocat",
- "followers_url": "https://api.github.com/users/Codertocat/followers",
- "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
- "organizations_url": "https://api.github.com/users/Codertocat/orgs",
- "repos_url": "https://api.github.com/users/Codertocat/repos",
- "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/Codertocat/received_events",
- "type": "User",
- "site_admin": true
- },
- "installation": {
- "id": 371641,
- "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx"
- }
-}