Skip to content

🤖📯 GitHub OpenAPI Update #119

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
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
176 changes: 141 additions & 35 deletions cache/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@
"name": "hosted-compute",
"description": "Manage hosted compute networking resources."
},
{
"name": "credentials",
"description": "Revoke compromised or leaked GitHub credentials."
},
{
"name": "campaigns",
"description": "Endpoints to manage campaigns via the REST API."
Expand Down Expand Up @@ -21301,6 +21305,14 @@
"anonymous_access_enabled": {
"type": "boolean",
"description": "Whether anonymous git access is enabled for this repository"
},
"code_search_index_status": {
"type": "object",
"description": "The status of the code search index for this repository",
"properties": {
"lexical_search_ok": { "type": "boolean" },
"lexical_commit_sha": { "type": "string" }
}
}
},
"required": [
Expand Down Expand Up @@ -40961,7 +40973,7 @@
}
},
"secret-scanning-alert-resolution-comment": {
"description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.",
"description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.",
"type": ["string", "null"]
},
"secret-scanning-location-commit": {
Expand Down Expand Up @@ -43322,6 +43334,64 @@
},
"required": ["key", "id"]
},
"billing-usage-report-user": {
"type": "object",
"properties": {
"usageItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "Date of the usage line item."
},
"product": { "type": "string", "description": "Product name." },
"sku": { "type": "string", "description": "SKU name." },
"quantity": {
"type": "integer",
"description": "Quantity of the usage line item."
},
"unitType": {
"type": "string",
"description": "Unit type of the usage line item."
},
"pricePerUnit": {
"type": "number",
"description": "Price per unit of the usage line item."
},
"grossAmount": {
"type": "number",
"description": "Gross amount of the usage line item."
},
"discountAmount": {
"type": "number",
"description": "Discount amount of the usage line item."
},
"netAmount": {
"type": "number",
"description": "Net amount of the usage line item."
},
"repositoryName": {
"type": "string",
"description": "Name of the repository."
}
},
"required": [
"date",
"product",
"sku",
"quantity",
"unitType",
"pricePerUnit",
"grossAmount",
"discountAmount",
"netAmount"
]
}
}
}
},
"enterprise-webhooks": {
"title": "Enterprise",
"description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"",
Expand Down Expand Up @@ -62231,7 +62301,8 @@
"type": "string",
"enum": ["Bot", "User", "Organization"]
},
"url": { "type": "string", "format": "uri" }
"url": { "type": "string", "format": "uri" },
"user_view_type": { "type": "string" }
},
"required": ["login", "id"]
}
Expand Down Expand Up @@ -67099,31 +67170,10 @@
"user_view_type": { "type": "string" }
},
"required": ["login", "id"]
}
},
"type": { "$ref": "#/components/schemas/issue-type" }
},
"required": [
"url",
"repository_url",
"labels_url",
"comments_url",
"events_url",
"html_url",
"id",
"node_id",
"number",
"title",
"user",
"assignees",
"milestone",
"comments",
"created_at",
"updated_at",
"closed_at",
"author_association",
"active_lock_reason",
"body",
"reactions"
]
"required": ["id", "number"]
},
"old_repository": {
"title": "Repository",
Expand Down Expand Up @@ -127348,6 +127398,7 @@
"cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8",
"cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8",
"cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8",
"copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8",
"copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8",
"corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8",
"costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8",
Expand Down Expand Up @@ -154078,6 +154129,24 @@
}
]
},
"billing-usage-report-user": {
"value": {
"usageItems": [
{
"date": "2023-08-01",
"product": "Actions",
"sku": "Actions Linux",
"quantity": 100,
"unitType": "minutes",
"pricePerUnit": 0.008,
"grossAmount": 0.8,
"discountAmount": 0,
"netAmount": 0.8,
"repositoryName": "user/example"
}
]
}
},
"check-run-completed": {
"value": {
"action": "completed",
Expand Down Expand Up @@ -155830,6 +155899,20 @@
"description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `<n`, `>=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.",
"schema": { "type": "string" }
},
"dependabot-alert-comma-separated-has": {
"name": "has",
"in": "query",
"description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.",
"schema": {
"oneOf": [
{ "type": "string" },
{
"type": "array",
"items": { "type": "string", "enum": ["patch"] }
}
]
}
},
"dependabot-alert-scope": {
"name": "scope",
"in": "query",
Expand Down Expand Up @@ -155875,7 +155958,7 @@
"secret-scanning-alert-secret-type": {
"name": "secret_type",
"in": "query",
"description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.",
"description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.",
"required": false,
"schema": { "type": "string" }
},
Expand Down Expand Up @@ -157086,6 +157169,14 @@
}
}
},
"internal_error": {
"description": "Internal Error",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/basic-error" }
}
}
},
"conflict": {
"description": "Conflict",
"content": {
Expand Down Expand Up @@ -157153,14 +157244,6 @@
}
}
},
"internal_error": {
"description": "Internal Error",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/basic-error" }
}
}
},
"actions_runner_jitconfig": {
"description": "Response",
"content": {
Expand Down Expand Up @@ -157290,6 +157373,14 @@
}
}
},
"unprocessable_analysis": {
"description": "Response if analysis could not be processed",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/basic-error" }
}
}
},
"found": { "description": "Found" },
"code_scanning_conflict": {
"description": "Response if there is already a validation run in progress with a different default setup configuration",
Expand Down Expand Up @@ -157322,6 +157413,21 @@
"schema": { "$ref": "#/components/schemas/basic-error" }
}
}
},
"billing_usage_report_user": {
"description": "Response when getting a billing usage report",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/billing-usage-report-user"
},
"examples": {
"default": {
"$ref": "#/components/examples/billing-usage-report-user"
}
}
}
}
}
},
"headers": {
Expand Down
Loading