|
1 | 1 | { |
2 | 2 | "openapi": "3.0.3", |
3 | 3 | "info": { |
4 | | - "version": "7.11.0", |
| 4 | + "version": "7.12.0", |
5 | 5 | "title": "GitHub's official OpenAPI spec + Octokit extension", |
6 | 6 | "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", |
7 | 7 | "license": { |
|
3579 | 3579 | "/enterprises/{enterprise}/consumed-licenses": { |
3580 | 3580 | "get": { |
3581 | 3581 | "summary": "List enterprise consumed licenses", |
3582 | | - "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.", |
| 3582 | + "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.", |
3583 | 3583 | "tags": [ |
3584 | 3584 | "enterprise-admin" |
3585 | 3585 | ], |
|
29439 | 29439 | "default": "all" |
29440 | 29440 | } |
29441 | 29441 | }, |
| 29442 | + { |
| 29443 | + "name": "permission", |
| 29444 | + "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", |
| 29445 | + "in": "query", |
| 29446 | + "required": false, |
| 29447 | + "schema": { |
| 29448 | + "type": "string", |
| 29449 | + "enum": [ |
| 29450 | + "pull", |
| 29451 | + "triage", |
| 29452 | + "push", |
| 29453 | + "maintain", |
| 29454 | + "admin" |
| 29455 | + ] |
| 29456 | + } |
| 29457 | + }, |
29442 | 29458 | { |
29443 | 29459 | "$ref": "#/components/parameters/per-page" |
29444 | 29460 | }, |
|
31166 | 31182 | }, |
31167 | 31183 | "put": { |
31168 | 31184 | "summary": "Create or update file contents", |
31169 | | - "description": "Creates a new file or replaces an existing file in a repository.", |
| 31185 | + "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.", |
31170 | 31186 | "tags": [ |
31171 | 31187 | "repos" |
31172 | 31188 | ], |
|
34593 | 34609 | "/repos/{owner}/{repo}/hooks": { |
34594 | 34610 | "get": { |
34595 | 34611 | "summary": "List repository webhooks", |
34596 | | - "description": "", |
| 34612 | + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", |
34597 | 34613 | "tags": [ |
34598 | 34614 | "repos" |
34599 | 34615 | ], |
|
63849 | 63865 | }, |
63850 | 63866 | "github_com_enterprise_role": { |
63851 | 63867 | "type": "string", |
63852 | | - "nullable": true |
| 63868 | + "nullable": true, |
| 63869 | + "description": "Deprecated: The most permissive enterprise role for a user." |
| 63870 | + }, |
| 63871 | + "github_com_enterprise_roles": { |
| 63872 | + "type": "array", |
| 63873 | + "description": "All enterprise roles for a user.", |
| 63874 | + "items": { |
| 63875 | + "type": "string" |
| 63876 | + } |
63853 | 63877 | }, |
63854 | 63878 | "visual_studio_subscription_user": { |
63855 | 63879 | "type": "boolean" |
|
90734 | 90758 | "org2:Owner" |
90735 | 90759 | ], |
90736 | 90760 | "github_com_enterprise_role": "owner", |
| 90761 | + "github_com_enterprise_roles": [ |
| 90762 | + "owner" |
| 90763 | + ], |
90737 | 90764 | "visual_studio_subscription_user": false, |
90738 | 90765 | "github_com_verified_domain_emails": [ |
90739 | 90766 | "monalisa@github.com" |
|
90762 | 90789 | "license_type": "enterprise", |
90763 | 90790 | "github_com_member_roles": [], |
90764 | 90791 | "github_com_enterprise_role": "", |
| 90792 | + "github_com_enterprise_roles": [], |
90765 | 90793 | "visual_studio_subscription_user": false, |
90766 | 90794 | "github_com_verified_domain_emails": [], |
90767 | 90795 | "github_com_saml_name_id": "", |
|
0 commit comments