diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index be55f2ff7..12455836f 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -77548,6 +77548,66 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", @@ -147452,11 +147512,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 0a4d2bd7f..b7d43f47c 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -56839,6 +56839,46 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/activity/starring#get-stargazer-count + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity @@ -109101,11 +109141,11 @@ components: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. Maximum - length: 40 characters.' + length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index 0931d250b..b83bf50c1 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -77465,6 +77465,66 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", @@ -146881,11 +146941,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index a839d8c96..eba07a6c5 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -56767,6 +56767,46 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/activity/starring#get-stargazer-count + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity @@ -108647,11 +108687,11 @@ components: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. Maximum - length: 40 characters.' + length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 7b0ab284c..7924b5797 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -77855,6 +77855,66 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", @@ -148602,11 +148662,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 97d046488..dfd4b3ddf 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -57027,6 +57027,46 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/activity/starring#get-stargazer-count + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity @@ -109917,11 +109957,11 @@ components: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. Maximum - length: 40 characters.' + length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index bb38697d7..5ea67cd4c 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -360696,11 +360696,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", @@ -609716,6 +609716,101 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 7d2816727..df12d690c 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -81634,11 +81634,11 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string @@ -106987,6 +106987,45 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/activity/starring#get-stargazer-count + parameters: + - *358 + - *359 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index aa2c54fe0..2af0e17a4 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -353968,11 +353968,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", @@ -598523,6 +598523,101 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 8efd7167f..3b751bf61 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -81200,11 +81200,11 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string @@ -106446,6 +106446,45 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/activity/starring#get-stargazer-count + parameters: + - *358 + - *359 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 537cc85b5..a842bd516 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -369363,11 +369363,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", @@ -624711,6 +624711,101 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index c01b4f445..98143996e 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -82322,11 +82322,11 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string @@ -107836,6 +107836,45 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/activity/starring#get-stargazer-count + parameters: + - *360 + - *361 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 8442876cb..28bd1c433 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -75509,7 +75509,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -80383,7 +80383,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -81991,7 +81991,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -422713,11 +422713,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", @@ -429399,7 +429399,8 @@ }, "dismissed_comment": { "type": "string", - "description": "An optional comment explaining the dismissal." + "description": "An optional comment explaining the dismissal.", + "maxLength": 280 } }, "required": [ @@ -429857,7 +429858,8 @@ }, "message": { "type": "string", - "description": "A message to include with the review. Has a maximum character length of 2048." + "description": "A message to include with the review.", + "maxLength": 2048 } }, "required": [ @@ -675812,6 +675814,101 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 0fb35fd09..5bb332525 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -28220,7 +28220,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/budgets": @@ -30224,7 +30224,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/reports": @@ -30742,7 +30742,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/teams": @@ -96734,11 +96734,11 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string @@ -97959,6 +97959,7 @@ paths: dismissed_comment: type: string description: An optional comment explaining the dismissal. + maxLength: 280 required: - dismissed_reason examples: @@ -98045,8 +98046,8 @@ paths: - deny message: type: string - description: A message to include with the review. Has a maximum - character length of 2048. + description: A message to include with the review. + maxLength: 2048 required: - status - message @@ -122790,6 +122791,45 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count + parameters: + - *511 + - *512 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index b90533d36..b2bd97074 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -75368,7 +75368,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -80242,7 +80242,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -81850,7 +81850,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -415738,11 +415738,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", @@ -422424,7 +422424,8 @@ }, "dismissed_comment": { "type": "string", - "description": "An optional comment explaining the dismissal." + "description": "An optional comment explaining the dismissal.", + "maxLength": 280 } }, "required": [ @@ -422882,7 +422883,8 @@ }, "message": { "type": "string", - "description": "A message to include with the review. Has a maximum character length of 2048." + "description": "A message to include with the review.", + "maxLength": 2048 } }, "required": [ @@ -664372,6 +664374,101 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "activity", + "subcategory": "starring" + } + } + }, "/repos/{owner}/{repo}/stats/code_frequency": { "get": { "summary": "Get the weekly commit activity", diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index d3da5de92..fe19ffaae 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -28150,7 +28150,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/budgets": @@ -30154,7 +30154,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/reports": @@ -30672,7 +30672,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/teams": @@ -96289,11 +96289,11 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string example: ddc951f4b1293222421f2c8df679786153acf689 minLength: 40 - maxLength: 40 + maxLength: 64 ref: description: The repository branch that triggered this snapshot. type: string @@ -97514,6 +97514,7 @@ paths: dismissed_comment: type: string description: An optional comment explaining the dismissal. + maxLength: 280 required: - dismissed_reason examples: @@ -97600,8 +97601,8 @@ paths: - deny message: type: string - description: A message to include with the review. Has a maximum - character length of 2048. + description: A message to include with the review. + maxLength: 2048 required: - status - message @@ -122238,6 +122239,45 @@ paths: enabledForGitHubApps: true category: activity subcategory: starring + "/repos/{owner}/{repo}/stargazers/count": + get: + summary: Get stargazer count + description: Gets the current number of users who have starred the repository. + Users who previously starred the repository but later removed their star are + not included. + tags: + - activity + operationId: activity/get-stargazer-count-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count + parameters: + - *511 + - *512 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + example: 42 + examples: + default: + value: + count: 42 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: activity + subcategory: starring "/repos/{owner}/{repo}/stats/code_frequency": get: summary: Get the weekly commit activity diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 5951cb6af..24fb0a436 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -75981,7 +75981,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -80855,7 +80855,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -82463,7 +82463,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -431628,11 +431628,11 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 64 characters.", "type": "string", "example": "ddc951f4b1293222421f2c8df679786153acf689", "minLength": 40, - "maxLength": 40 + "maxLength": 64 }, "ref": { "description": "The repository branch that triggered this snapshot.", @@ -438314,7 +438314,8 @@ }, "dismissed_comment": { "type": "string", - "description": "An optional comment explaining the dismissal." + "description": "An optional comment explaining the dismissal.", + "maxLength": 280 } }, "required": [ @@ -438772,7 +438773,8 @@ }, "message": { "type": "string", - "description": "A message to include with the review. Has a maximum character length of 2048." + "description": "A message to include with the review.", + "maxLength": 2048 } }, "required": [ @@ -691055,6 +691057,101 @@ } } }, + "/repos/{owner}/{repo}/stargazers/count": { + "get": { + "summary": "Get stargazer count", + "description": "Gets the current number of users who have starred the repository. Users who previously starred the repository but later removed their star are not included.", + "tags": [ + "activity" + ], + "operationId": "activity/get-stargazer-count-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "count" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 0, + "example": 42 + } + } + }, + "examples": { + "default": { + "value": { + "count": 42 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + {"code":"deadline_exceeded","msg":"operation timed out"}