diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 3f90cc07d..c150c4a69 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -37448,6 +37448,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -75456,6 +75462,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -77916,6 +77928,68 @@ } } }, + "/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, + "examples": [ + 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", @@ -150401,10 +150475,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index c025743bf..9478f67e0 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -27654,6 +27654,8 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" responses: '200': description: Response @@ -55281,6 +55283,8 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" responses: '200': description: Response @@ -57029,6 +57033,47 @@ 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 + examples: + - 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 @@ -109765,10 +109810,10 @@ components: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. Maximum - length: 40 characters.' + length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index 155fb6a3f..01059f05e 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -37408,6 +37408,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -75367,6 +75373,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -77827,6 +77839,68 @@ } } }, + "/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, + "examples": [ + 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", @@ -149759,10 +149833,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 9cf621596..305945d9a 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -27624,6 +27624,8 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" responses: '200': description: Response @@ -55206,6 +55208,8 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" responses: '200': description: Response @@ -56954,6 +56958,47 @@ 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 + examples: + - 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 @@ -109292,10 +109337,10 @@ components: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. Maximum - length: 40 characters.' + length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index d9ded37b0..83515d5d1 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -37640,6 +37640,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -75763,6 +75769,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -78223,6 +78235,68 @@ } } }, + "/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, + "examples": [ + 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", @@ -151437,10 +151511,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 8ecddbab5..a69af72a1 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -27756,6 +27756,8 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" responses: '200': description: Response @@ -55469,6 +55471,8 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" responses: '200': description: Response @@ -57217,6 +57221,47 @@ 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 + examples: + - 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 @@ -110486,10 +110531,10 @@ components: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. Maximum - length: 40 characters.' + length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index b0aa6549b..e76dec47e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -259008,6 +259008,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -417794,10 +417812,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] @@ -698278,6 +698296,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -722169,6 +722205,103 @@ } } }, + "/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, + "examples": [ + 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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 5665f1d61..1bd8d3d78 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -54869,6 +54869,8 @@ paths: - *61 - *19 - *17 + - *46 + - *47 responses: '200': description: Response @@ -83619,10 +83621,10 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: @@ -106523,6 +106525,8 @@ paths: - *61 - *19 - *17 + - *46 + - *47 responses: '200': description: Response @@ -109104,6 +109108,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: + - *341 + - *342 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + examples: + - 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-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index ce73ab0e9..fcf7a7ec2 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -251624,6 +251624,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -409308,10 +409326,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] @@ -684222,6 +684240,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -707876,6 +707912,103 @@ } } }, + "/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, + "examples": [ + 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-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index f88381e79..53cbee8cb 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -54491,6 +54491,8 @@ paths: - *61 - *19 - *17 + - *46 + - *47 responses: '200': description: Response @@ -83170,10 +83172,10 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: @@ -105970,6 +105972,8 @@ paths: - *61 - *19 - *17 + - *46 + - *47 responses: '200': description: Response @@ -108547,6 +108551,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: + - *341 + - *342 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + examples: + - 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-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index f3be6a846..77193dfd9 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -265914,6 +265914,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -427013,10 +427031,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] @@ -713234,6 +713252,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -737716,6 +737752,103 @@ } } }, + "/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, + "examples": [ + 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-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 3703f3e98..f08e6c195 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -55335,6 +55335,8 @@ paths: - *61 - *19 - *17 + - *46 + - *47 responses: '200': description: Response @@ -84305,10 +84307,10 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: @@ -107357,6 +107359,8 @@ paths: - *61 - *19 - *17 + - *46 + - *47 responses: '200': description: Response @@ -109950,6 +109954,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: + - *341 + - *342 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + examples: + - 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-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 149826491..3849ef637 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -78972,6 +78972,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -81632,7 +81650,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -86698,7 +86716,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -88376,7 +88394,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -321890,6 +321908,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -484346,10 +484382,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] @@ -492217,7 +492253,8 @@ }, "dismissed_comment": { "type": "string", - "description": "An optional comment explaining the dismissal." + "description": "An optional comment explaining the dismissal.", + "maxLength": 280 } }, "required": [ @@ -492695,7 +492732,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": [ @@ -769015,6 +769053,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -792918,6 +792974,103 @@ } } }, + "/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, + "examples": [ + 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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 95b93c9ac..43019556f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -27902,6 +27902,8 @@ paths: - *111 - *19 - *17 + - *109 + - *110 responses: '200': description: Response @@ -28925,7 +28927,7 @@ paths: '503': *196 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/budgets": @@ -30972,7 +30974,7 @@ paths: '503': *196 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/reports": @@ -31499,7 +31501,7 @@ paths: '503': *196 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/teams": @@ -69932,6 +69934,8 @@ paths: - *111 - *19 - *17 + - *109 + - *110 responses: '200': description: Response @@ -98932,10 +98936,10 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: @@ -100178,6 +100182,7 @@ paths: dismissed_comment: type: string description: An optional comment explaining the dismissal. + maxLength: 280 required: - dismissed_reason examples: @@ -100264,8 +100269,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 @@ -122539,6 +122544,8 @@ paths: - *111 - *19 - *17 + - *109 + - *110 responses: '200': description: Response @@ -125120,6 +125127,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/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count + parameters: + - *492 + - *493 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + examples: + - 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-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 907a38216..56fd7f8f4 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -78811,6 +78811,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -81471,7 +81489,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -86537,7 +86555,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -88215,7 +88233,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -314207,6 +314225,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -475561,10 +475597,10 @@ "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", "minLength": 40, - "maxLength": 40, + "maxLength": 64, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] @@ -483432,7 +483468,8 @@ }, "dismissed_comment": { "type": "string", - "description": "An optional comment explaining the dismissal." + "description": "An optional comment explaining the dismissal.", + "maxLength": 280 } }, "required": [ @@ -483910,7 +483947,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": [ @@ -754660,6 +754698,24 @@ "type": "integer", "default": 30 } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -778326,6 +778382,103 @@ } } }, + "/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, + "examples": [ + 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-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index f4fb312a1..94eaa6521 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -27827,6 +27827,8 @@ paths: - *111 - *19 - *17 + - *109 + - *110 responses: '200': description: Response @@ -28850,7 +28852,7 @@ paths: '503': *196 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/budgets": @@ -30897,7 +30899,7 @@ paths: '503': *196 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/reports": @@ -31424,7 +31426,7 @@ paths: '503': *196 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/teams": @@ -69542,6 +69544,8 @@ paths: - *111 - *19 - *17 + - *109 + - *110 responses: '200': description: Response @@ -98471,10 +98475,10 @@ paths: additionalProperties: false sha: description: 'The commit SHA associated with this dependency snapshot. - Maximum length: 40 characters.' + Maximum length: 64 characters.' type: string minLength: 40 - maxLength: 40 + maxLength: 64 examples: - ddc951f4b1293222421f2c8df679786153acf689 ref: @@ -99717,6 +99721,7 @@ paths: dismissed_comment: type: string description: An optional comment explaining the dismissal. + maxLength: 280 required: - dismissed_reason examples: @@ -99803,8 +99808,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 @@ -121974,6 +121979,8 @@ paths: - *111 - *19 - *17 + - *109 + - *110 responses: '200': description: Response @@ -124551,6 +124558,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/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count + parameters: + - *492 + - *493 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - count + properties: + count: + type: integer + minimum: 0 + examples: + - 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 w{"code":"deadline_exceeded","msg":"operation timed out"}