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..0b9a3e33f 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 @@ -37266,6 +37266,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -75100,6 +75106,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -77548,6 +77560,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 +147524,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..d45e77dfe 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 @@ -27562,6 +27562,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 @@ -55097,6 +55099,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 @@ -56839,6 +56843,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 +109145,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..46e9beac4 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 @@ -37228,6 +37228,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -75017,6 +75023,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -77465,6 +77477,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 +146953,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..afb47479d 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 @@ -27533,6 +27533,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 @@ -55025,6 +55027,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 @@ -56767,6 +56771,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 +108691,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..011a09b6b 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -37458,6 +37458,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -75407,6 +75413,12 @@ }, { "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" } ], "responses": { @@ -77855,6 +77867,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 +148674,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..65544c7d3 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -27664,6 +27664,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 @@ -55285,6 +55287,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 @@ -57027,6 +57031,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 +109961,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..02f727e53 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 @@ -225359,6 +225359,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": { @@ -360696,11 +360714,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.", @@ -589461,6 +589479,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": { @@ -609716,6 +609752,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..21be55c89 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 @@ -53578,6 +53578,8 @@ paths: - *63 - *19 - *17 + - *48 + - *49 responses: '200': description: Response @@ -81634,11 +81636,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 @@ -104442,6 +104444,8 @@ paths: - *63 - *19 - *17 + - *48 + - *49 responses: '200': description: Response @@ -106987,6 +106991,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..0afa3e671 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 @@ -219521,6 +219521,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": { @@ -353968,11 +353986,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.", @@ -578465,6 +578483,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": { @@ -598523,6 +598559,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..57e4e2c58 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 @@ -53211,6 +53211,8 @@ paths: - *63 - *19 - *17 + - *48 + - *49 responses: '200': description: Response @@ -81200,11 +81202,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 @@ -103905,6 +103907,8 @@ paths: - *63 - *19 - *17 + - *48 + - *49 responses: '200': description: Response @@ -106446,6 +106450,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..4788a66d7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -231713,6 +231713,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": { @@ -369363,11 +369381,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.", @@ -603865,6 +603883,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": { @@ -624711,6 +624747,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..ad9030d1a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -54046,6 +54046,8 @@ paths: - *63 - *19 - *17 + - *48 + - *49 responses: '200': description: Response @@ -82322,11 +82324,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 @@ -105279,6 +105281,8 @@ paths: - *63 - *19 - *17 + - *48 + - *49 responses: '200': description: Response @@ -107836,6 +107840,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..f71af4535 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -72967,6 +72967,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": { @@ -75509,7 +75527,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -80383,7 +80401,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -81991,7 +82009,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -283874,6 +283892,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": { @@ -422713,11 +422749,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 +429435,8 @@ }, "dismissed_comment": { "type": "string", - "description": "An optional comment explaining the dismissal." + "description": "An optional comment explaining the dismissal.", + "maxLength": 280 } }, "required": [ @@ -429857,7 +429894,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": [ @@ -655545,6 +655583,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": { @@ -675812,6 +675868,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..acc615d3c 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -27213,6 +27213,8 @@ paths: - *113 - *19 - *17 + - *111 + - *112 responses: '200': description: Response @@ -28220,7 +28222,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/budgets": @@ -30224,7 +30226,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/settings/billing/reports": @@ -30742,7 +30744,7 @@ paths: '503': *204 x-github: githubCloudOnly: true - enabledForGitHubApps: false + enabledForGitHubApps: true category: billing subcategory: usage "/enterprises/{enterprise}/teams": @@ -68420,6 +68422,8 @@ paths: - *113 - *19 - *17 + - *111 + - *112 responses: '200': description: Response @@ -96734,11 +96738,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 +97963,7 @@ paths: dismissed_comment: type: string description: An optional comment explaining the dismissal. + maxLength: 280 required: - dismissed_reason examples: @@ -98045,8 +98050,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 @@ -120245,6 +120250,8 @@ paths: - *113 - *19 - *17 + - *111 + - *112 responses: '200': description: Response @@ -122790,6 +122797,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..993754db8 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -72826,6 +72826,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": { @@ -75368,7 +75386,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -80242,7 +80260,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -81850,7 +81868,7 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, + "enabledForGitHubApps": true, "category": "billing", "subcategory": "usage" } @@ -277789,6 +277807,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": { @@ -415738,11 +415774,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 +422460,8 @@ }, "dismissed_comment": { "type": "string", - "description": "An optional comment explaining the dismissal." + "description": "An optional comment explaining the dismissal.", + "maxLength": 280 } }, "required": [ @@ -422882,7 +422919,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": [ @@ -644302,6 +644340,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": { @@ -664372,6 +664428,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" + {"code":"deadline_exceeded","msg":"operation timed out"}