Skip to content

Commit

Permalink
update openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed May 5, 2024
1 parent 0473d08 commit e95ff92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ghapi/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
('/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', [], [], ''),
('/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', [], [], ''),
('/emojis', 'get', 'emojis/get', 'Get emojis', 'rest/emojis/emojis#get-emojis', [], [], ''),
('/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'], [], ''),
('/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'], [], ''),
('/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'], [], ''),
('/events', 'get', 'activity/list-public-events', 'List public events', 'rest/activity/events#list-public-events', ['per_page', 'page'], [], ''),
Expand Down Expand Up @@ -200,6 +201,7 @@
('/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]], ''),
('/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]], ''),
('/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]], ''),
('/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'], [], ''),
('/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'], [], ''),
('/orgs/{org}/dependabot/secrets', 'get', 'dependabot/list-org-secrets', 'List organization secrets', 'rest/dependabot/secrets#list-organization-secrets', ['per_page', 'page'], [], ''),
('/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', [], [], ''),
Expand Down Expand Up @@ -337,7 +339,7 @@
'Create or update a custom property for an organization',
'rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization',
[],
[['value_type', str], ['required', bool], ['default_value', str], ['description', str], ['allowed_values', list]],
[['value_type', str], ['required', bool], ['default_value', object], ['description', str], ['allowed_values', list]],
''),
('/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', [], [], ''),
('/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'], [], ''),
Expand Down Expand Up @@ -394,6 +396,7 @@
('/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', [], [], ''),
('/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', [], [], ''),
('/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', [], [], ''),
('/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'], [], ''),
('/orgs/{org}/teams', 'get', 'teams/list', 'List teams', 'rest/teams/teams#list-teams', ['per_page', 'page'], [], ''),
('/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]], ''),
('/orgs/{org}/teams/{team_slug}', 'get', 'teams/get-by-name', 'Get a team by name', 'rest/teams/teams#get-a-team-by-name', [], [], ''),
Expand Down

0 comments on commit e95ff92

Please sign in to comment.