Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(GHEC): remove user created/deleted events #84

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
240 changes: 0 additions & 240 deletions cache/ghec.json
Original file line number Diff line number Diff line change
Expand Up @@ -17868,152 +17868,6 @@
}
}
},
"user-created": {
"post": {
"summary": "This event occurs when there is activity relating to user accounts in an enterprise.",
"description": "A user account was added to the enterprise.",
"operationId": "user/created",
"externalDocs": {
"url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#user"
},
"parameters": [
{
"name": "User-Agent",
"in": "header",
"example": "GitHub-Hookshot/123abc",
"schema": { "type": "string" }
},
{
"name": "X-Github-Hook-Id",
"in": "header",
"example": 12312312,
"schema": { "type": "string" }
},
{
"name": "X-Github-Event",
"in": "header",
"example": "issues",
"schema": { "type": "string" }
},
{
"name": "X-Github-Hook-Installation-Target-Id",
"in": "header",
"example": 123123,
"schema": { "type": "string" }
},
{
"name": "X-Github-Hook-Installation-Target-Type",
"in": "header",
"example": "repository",
"schema": { "type": "string" }
},
{
"name": "X-GitHub-Delivery",
"in": "header",
"example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
"schema": { "type": "string" }
},
{
"name": "X-Hub-Signature-256",
"in": "header",
"example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
"schema": { "type": "string" }
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/webhook-user-created" }
}
}
},
"responses": {
"200": {
"description": "Return a 200 status to indicate that the data was received successfully"
}
},
"x-github": {
"githubCloudOnly": true,
"category": "webhooks",
"subcategory": "user",
"supported-webhook-types": ["business"]
}
}
},
"user-deleted": {
"post": {
"summary": "This event occurs when there is activity relating to user accounts in an enterprise.",
"description": "A user account was removed from the enterprise.",
"operationId": "user/deleted",
"externalDocs": {
"url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#user"
},
"parameters": [
{
"name": "User-Agent",
"in": "header",
"example": "GitHub-Hookshot/123abc",
"schema": { "type": "string" }
},
{
"name": "X-Github-Hook-Id",
"in": "header",
"example": 12312312,
"schema": { "type": "string" }
},
{
"name": "X-Github-Event",
"in": "header",
"example": "issues",
"schema": { "type": "string" }
},
{
"name": "X-Github-Hook-Installation-Target-Id",
"in": "header",
"example": 123123,
"schema": { "type": "string" }
},
{
"name": "X-Github-Hook-Installation-Target-Type",
"in": "header",
"example": "repository",
"schema": { "type": "string" }
},
{
"name": "X-GitHub-Delivery",
"in": "header",
"example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
"schema": { "type": "string" }
},
{
"name": "X-Hub-Signature-256",
"in": "header",
"example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
"schema": { "type": "string" }
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/webhook-user-deleted" }
}
}
},
"responses": {
"200": {
"description": "Return a 200 status to indicate that the data was received successfully"
}
},
"x-github": {
"githubCloudOnly": true,
"category": "webhooks",
"subcategory": "user",
"supported-webhook-types": ["business"]
}
}
},
"watch-started": {
"post": {
"summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest//account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.",
Expand Down Expand Up @@ -133578,100 +133432,6 @@
},
"required": ["action", "team", "organization", "sender"]
},
"webhook-user-created": {
"type": "object",
"properties": {
"action": { "type": "string", "enum": ["created"] },
"enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" },
"installation": {
"$ref": "#/components/schemas/simple-installation"
},
"organization": {
"$ref": "#/components/schemas/organization-simple-webhooks"
},
"repository": { "$ref": "#/components/schemas/repository-webhooks" },
"sender": { "$ref": "#/components/schemas/simple-user-webhooks" },
"user": {
"title": "User",
"type": ["object", "null"],
"properties": {
"avatar_url": { "type": "string", "format": "uri" },
"deleted": { "type": "boolean" },
"email": { "type": ["string", "null"] },
"events_url": { "type": "string", "format": "uri-template" },
"followers_url": { "type": "string", "format": "uri" },
"following_url": { "type": "string", "format": "uri-template" },
"gists_url": { "type": "string", "format": "uri-template" },
"gravatar_id": { "type": "string" },
"html_url": { "type": "string", "format": "uri" },
"id": { "type": "integer" },
"login": { "type": "string" },
"name": { "type": "string" },
"node_id": { "type": "string" },
"organizations_url": { "type": "string", "format": "uri" },
"received_events_url": { "type": "string", "format": "uri" },
"repos_url": { "type": "string", "format": "uri" },
"site_admin": { "type": "boolean" },
"starred_url": { "type": "string", "format": "uri-template" },
"subscriptions_url": { "type": "string", "format": "uri" },
"type": {
"type": "string",
"enum": ["Bot", "User", "Organization"]
},
"url": { "type": "string", "format": "uri" }
},
"required": ["login", "id"]
}
},
"required": ["action"]
},
"webhook-user-deleted": {
"type": "object",
"properties": {
"action": { "type": "string", "enum": ["deleted"] },
"enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" },
"installation": {
"$ref": "#/components/schemas/simple-installation"
},
"organization": {
"$ref": "#/components/schemas/organization-simple-webhooks"
},
"repository": { "$ref": "#/components/schemas/repository-webhooks" },
"sender": { "$ref": "#/components/schemas/simple-user-webhooks" },
"user": {
"title": "User",
"type": ["object", "null"],
"properties": {
"avatar_url": { "type": "string", "format": "uri" },
"deleted": { "type": "boolean" },
"email": { "type": ["string", "null"] },
"events_url": { "type": "string", "format": "uri-template" },
"followers_url": { "type": "string", "format": "uri" },
"following_url": { "type": "string", "format": "uri-template" },
"gists_url": { "type": "string", "format": "uri-template" },
"gravatar_id": { "type": "string" },
"html_url": { "type": "string", "format": "uri" },
"id": { "type": "integer" },
"login": { "type": "string" },
"name": { "type": "string" },
"node_id": { "type": "string" },
"organizations_url": { "type": "string", "format": "uri" },
"received_events_url": { "type": "string", "format": "uri" },
"repos_url": { "type": "string", "format": "uri" },
"site_admin": { "type": "boolean" },
"starred_url": { "type": "string", "format": "uri-template" },
"subscriptions_url": { "type": "string", "format": "uri" },
"type": {
"type": "string",
"enum": ["Bot", "User", "Organization"]
},
"url": { "type": "string", "format": "uri" }
},
"required": ["login", "id"]
}
},
"required": ["action"]
},
"webhook-watch-started": {
"title": "watch started event",
"type": "object",
Expand Down
Loading
Loading