|
37 | 37 | ('/codes_of_conduct', 'get', 'codes-of-conduct/get-all-codes-of-conduct', 'Get all codes of conduct', 'rest/codes-of-conduct/codes-of-conduct#get-all-codes-of-conduct', [], [], ''), |
38 | 38 | ('/codes_of_conduct/{key}', 'get', 'codes-of-conduct/get-conduct-code', 'Get a code of conduct', 'rest/codes-of-conduct/codes-of-conduct#get-a-code-of-conduct', [], [], ''), |
39 | 39 | ('/emojis', 'get', 'emojis/get', 'Get emojis', 'rest/emojis/emojis#get-emojis', [], [], ''), |
| 40 | + ('/enterprises/{enterprise}/copilot/usage', 'get', 'copilot/usage-metrics-for-enterprise', 'Get a summary of Copilot usage for enterprise members', 'rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members', ['since', 'until', 'page', 'per_page'], [], ''), |
40 | 41 | ('/enterprises/{enterprise}/dependabot/alerts', 'get', 'dependabot/list-alerts-for-enterprise', 'List Dependabot alerts for an enterprise', 'rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise', ['state', 'severity', 'ecosystem', 'package', 'scope', 'sort', 'direction', 'before', 'after', 'first', 'last', 'per_page'], [], ''), |
41 | 42 | ('/enterprises/{enterprise}/secret-scanning/alerts', 'get', 'secret-scanning/list-alerts-for-enterprise', 'List secret scanning alerts for an enterprise', 'rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise', ['state', 'secret_type', 'resolution', 'sort', 'direction', 'per_page', 'before', 'after', 'validity'], [], ''), |
42 | 43 | ('/events', 'get', 'activity/list-public-events', 'List public events', 'rest/activity/events#list-public-events', ['per_page', 'page'], [], ''), |
|
200 | 201 | ('/orgs/{org}/copilot/billing/selected_teams', 'delete', 'copilot/cancel-copilot-seat-assignment-for-teams', 'Remove teams from the Copilot subscription for an organization', 'rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization', [], [['selected_teams', list]], ''), |
201 | 202 | ('/orgs/{org}/copilot/billing/selected_users', 'post', 'copilot/add-copilot-seats-for-users', 'Add users to the Copilot subscription for an organization', 'rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization', [], [['selected_usernames', list]], ''), |
202 | 203 | ('/orgs/{org}/copilot/billing/selected_users', 'delete', 'copilot/cancel-copilot-seat-assignment-for-users', 'Remove users from the Copilot subscription for an organization', 'rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization', [], [['selected_usernames', list]], ''), |
| 204 | + ('/orgs/{org}/copilot/usage', 'get', 'copilot/usage-metrics-for-org', 'Get a summary of Copilot usage for organization members', 'rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members', ['since', 'until', 'page', 'per_page'], [], ''), |
203 | 205 | ('/orgs/{org}/dependabot/alerts', 'get', 'dependabot/list-alerts-for-org', 'List Dependabot alerts for an organization', 'rest/dependabot/alerts#list-dependabot-alerts-for-an-organization', ['state', 'severity', 'ecosystem', 'package', 'scope', 'sort', 'direction', 'before', 'after', 'first', 'last', 'per_page'], [], ''), |
204 | 206 | ('/orgs/{org}/dependabot/secrets', 'get', 'dependabot/list-org-secrets', 'List organization secrets', 'rest/dependabot/secrets#list-organization-secrets', ['per_page', 'page'], [], ''), |
205 | 207 | ('/orgs/{org}/dependabot/secrets/public-key', 'get', 'dependabot/get-org-public-key', 'Get an organization public key', 'rest/dependabot/secrets#get-an-organization-public-key', [], [], ''), |
|
337 | 339 | 'Create or update a custom property for an organization', |
338 | 340 | 'rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization', |
339 | 341 | [], |
340 | | - [['value_type', str], ['required', bool], ['default_value', str], ['description', str], ['allowed_values', list]], |
| 342 | + [['value_type', str], ['required', bool], ['default_value', object], ['description', str], ['allowed_values', list]], |
341 | 343 | ''), |
342 | 344 | ('/orgs/{org}/properties/schema/{custom_property_name}', 'delete', 'orgs/remove-custom-property', 'Remove a custom property for an organization', 'rest/orgs/custom-properties#remove-a-custom-property-for-an-organization', [], [], ''), |
343 | 345 | ('/orgs/{org}/properties/values', 'get', 'orgs/list-custom-properties-values-for-repos', 'List custom property values for organization repositories', 'rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories', ['per_page', 'page', 'repository_query'], [], ''), |
|
394 | 396 | ('/orgs/{org}/settings/billing/actions', 'get', 'billing/get-github-actions-billing-org', 'Get GitHub Actions billing for an organization', 'rest/billing/billing#get-github-actions-billing-for-an-organization', [], [], ''), |
395 | 397 | ('/orgs/{org}/settings/billing/packages', 'get', 'billing/get-github-packages-billing-org', 'Get GitHub Packages billing for an organization', 'rest/billing/billing#get-github-packages-billing-for-an-organization', [], [], ''), |
396 | 398 | ('/orgs/{org}/settings/billing/shared-storage', 'get', 'billing/get-shared-storage-billing-org', 'Get shared storage billing for an organization', 'rest/billing/billing#get-shared-storage-billing-for-an-organization', [], [], ''), |
| 399 | + ('/orgs/{org}/team/{team_slug}/copilot/usage', 'get', 'copilot/usage-metrics-for-team', 'Get a summary of Copilot usage for a team', 'rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team', ['since', 'until', 'page', 'per_page'], [], ''), |
397 | 400 | ('/orgs/{org}/teams', 'get', 'teams/list', 'List teams', 'rest/teams/teams#list-teams', ['per_page', 'page'], [], ''), |
398 | 401 | ('/orgs/{org}/teams', 'post', 'teams/create', 'Create a team', 'rest/teams/teams#create-a-team', [], [['name', str], ['description', str], ['maintainers', list], ['repo_names', list], ['privacy', str], ['notification_setting', str], ['permission', str, 'pull'], ['parent_team_id', int]], ''), |
399 | 402 | ('/orgs/{org}/teams/{team_slug}', 'get', 'teams/get-by-name', 'Get a team by name', 'rest/teams/teams#get-a-team-by-name', [], [], ''), |
|
0 commit comments