`."
},
"commit_sha": {
"description": "The SHA of the commit to which the analysis you are uploading relates.",
@@ -379154,7 +379154,7 @@
}
],
"previews": [],
- "descriptionHTML": "Checks whether a team has admin, push, maintain, triage, or pull permission for a repository. Repositories inherited through a parent team will also be checked.
\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom media type via the application/vnd.github.v3.repository+json accept header.
\nIf a team doesn't have permission for the repository, you will receive a 404 Not Found response status.
\nNote: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}.
",
+ "descriptionHTML": "Checks whether a team has admin, push, maintain, triage, or pull permission for a repository. Repositories inherited through a parent team will also be checked.
\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom media type via the application/vnd.github.v3.repository+json accept header.
\nIf a team doesn't have permission for the repository, you will receive a 404 Not Found response status.
\nIf the repository is private, you must have at least read permission for that repository and your token must have the repo scope. Otherwise, you will receive a 404 Not Found response status.
\nNote: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}.
",
"statusCodes": [
{
"httpStatusCode": "200",
diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json
index 02db44b029..2cd55ace46 100644
--- a/src/rest/data/ghec-2022-11-28/schema.json
+++ b/src/rest/data/ghec-2022-11-28/schema.json
@@ -117668,6 +117668,8 @@
"example": {
"total_advanced_security_committers": 2,
"total_count": 2,
+ "maximum_advanced_security_committers": 4,
+ "purchased_advanced_security_committers": 4,
"repositories": [
{
"name": "octocat-org/Hello-World",
@@ -117713,6 +117715,20 @@
2
]
},
+ "maximum_advanced_security_committers": {
+ "type": "integer",
+ "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security",
+ "examples": [
+ 4
+ ]
+ },
+ "purchased_advanced_security_committers": {
+ "type": "integer",
+ "description": "The total number of GitHub Advanced Security licences purchased",
+ "examples": [
+ 4
+ ]
+ },
"repositories": {
"type": "array",
"items": {
@@ -160239,7 +160255,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -161663,7 +161679,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -162396,7 +162412,7 @@
"required": false,
"schema": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
}
},
{
@@ -162925,7 +162941,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -163534,7 +163550,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -164178,7 +164194,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -164358,7 +164374,7 @@
"required": false,
"schema": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
}
}
],
@@ -164433,7 +164449,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -164610,7 +164626,7 @@
"required": false,
"schema": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
}
},
{
@@ -164722,7 +164738,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"commit_sha": {
"description": "The SHA of the commit to which the analysis you are uploading relates.",
@@ -164936,7 +164952,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"commit_sha": {
"description": "The SHA of the commit to which the analysis you are uploading relates.",
@@ -251296,6 +251312,8 @@
"example": {
"total_advanced_security_committers": 2,
"total_count": 2,
+ "maximum_advanced_security_committers": 4,
+ "purchased_advanced_security_committers": 4,
"repositories": [
{
"name": "octocat-org/Hello-World",
@@ -251341,6 +251359,20 @@
2
]
},
+ "maximum_advanced_security_committers": {
+ "type": "integer",
+ "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security",
+ "examples": [
+ 4
+ ]
+ },
+ "purchased_advanced_security_committers": {
+ "type": "integer",
+ "description": "The total number of GitHub Advanced Security licences purchased",
+ "examples": [
+ 4
+ ]
+ },
"repositories": {
"type": "array",
"items": {
@@ -555703,7 +555735,7 @@
}
],
"previews": [],
- "descriptionHTML": "Checks whether a team has admin, push, maintain, triage, or pull permission for a repository. Repositories inherited through a parent team will also be checked.
\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom media type via the application/vnd.github.v3.repository+json accept header.
\nIf a team doesn't have permission for the repository, you will receive a 404 Not Found response status.
\nNote: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}.
",
+ "descriptionHTML": "Checks whether a team has admin, push, maintain, triage, or pull permission for a repository. Repositories inherited through a parent team will also be checked.
\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom media type via the application/vnd.github.v3.repository+json accept header.
\nIf a team doesn't have permission for the repository, you will receive a 404 Not Found response status.
\nIf the repository is private, you must have at least read permission for that repository and your token must have the repo scope. Otherwise, you will receive a 404 Not Found response status.
\nNote: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}.
",
"statusCodes": [
{
"httpStatusCode": "200",
diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json
index 02d82f56ce..edb8613668 100644
--- a/src/rest/data/ghes-3.10-2022-11-28/schema.json
+++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json
@@ -154586,7 +154586,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -156010,7 +156010,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -156743,7 +156743,7 @@
"required": false,
"schema": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
}
},
{
@@ -157272,7 +157272,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -157881,7 +157881,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull//head`."
+ "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``."
},
"analysis_key": {
"type": "string",
@@ -158525,7 +158525,7 @@
"properties": {
"ref": {
"type": "string",
- "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/pull//merge`, or `refs/pull/