REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。
适用于组织的 REST API 终结点
使用 REST API 控制并管理你所有的 GitHub 组织。
- 适用于组织的 REST API 终结点
- List organizations
 - Get an organization
 - Update an organization
 - Delete an organization
 - Get the audit log for an organization
 - List SAML SSO authorizations for an organization
 - Remove a SAML SSO authorization for an organization
 - List app installations for an organization
 - Get immutable releases settings for an organization
 - Set immutable releases settings for an organization
 - List selected repositories for immutable releases enforcement
 - Set selected repositories for immutable releases enforcement
 - Enable a selected repository for immutable releases in an organization
 - Disable a selected repository for immutable releases in an organization
 - Enable or disable a security feature for an organization
 - List organizations for the authenticated user
 - List organizations for a user
 
 - API 见解的 REST API 终结点
 - 项目元数据
 - 项目证明的 REST API 终结点
 - 用于阻止用户的 REST API 终结点
 - 用于组织推送规则绕过请求的 REST API 终结点
 - 自定义属性的 REST API 终结点
- Get all custom properties for an organization
 - Create or update custom properties for an organization
 - Get a custom property for an organization
 - Create or update a custom property for an organization
 - Remove a custom property for an organization
 - List custom property values for organization repositories
 - Create or update custom property values for organization repositories
 
 - REST API endpoints for an organization's custom property values
 - 适用于自定义存储库角色的 REST API 终结点
- Closing down - List custom repository roles in an organization
 - List custom repository roles in an organization
 - Create a custom repository role
 - Get a custom repository role
 - Update a custom repository role
 - Delete a custom repository role
 - Closing down - Create a custom role
 - Closing down - Get a custom role
 - Closing down - Update a custom role
 - Closing down - Delete a custom role
 - Closing down - List fine-grained permissions for an organization
 - List repository fine-grained permissions for an organization
 
 - 适用于议题类型的 REST API 终结点
 - 适用于组织成员的 REST API 终结点
- List failed organization invitations
 - List pending organization invitations
 - Create an organization invitation
 - Cancel an organization invitation
 - List organization invitation teams
 - List organization members
 - Check organization membership for a user
 - Remove an organization member
 - Get organization membership for a user
 - Set organization membership for a user
 - Remove organization membership for a user
 - List public organization members
 - Check public organization membership for a user
 - Set public organization membership for the authenticated user
 - Remove public organization membership for the authenticated user
 - List organization memberships for the authenticated user
 - Get an organization membership for the authenticated user
 - Update an organization membership for the authenticated user
 
 - 用于网络配置的 REST API 终结点
- List hosted compute network configurations for an organization
 - Create a hosted compute network configuration for an organization
 - Get a hosted compute network configuration for an organization
 - Update a hosted compute network configuration for an organization
 - Delete a hosted compute network configuration from an organization
 - Get a hosted compute network settings resource for an organization
 
 - 适用于组织角色的 REST API 终结点
- List organization fine-grained permissions for an organization
 - Get all organization roles for an organization
 - Create a custom organization role
 - Remove all organization roles for a team
 - Assign an organization role to a team
 - Remove an organization role from a team
 - Remove all organization roles for a user
 - Assign an organization role to a user
 - Remove an organization role from a user
 - Get an organization role
 - Update a custom organization role
 - Delete a custom organization role.
 - List teams that are assigned to an organization role
 - List users that are assigned to an organization role
 
 - 适用于外部协作者的 REST API 终结点
 - 适用于个人访问令牌的 REST API 终结点
- List requests to access organization resources with fine-grained personal access tokens
 - Review requests to access organization resources with fine-grained personal access tokens
 - Review a request to access organization resources with a fine-grained personal access token
 - List repositories requested to be accessed by a fine-grained personal access token
 - List fine-grained personal access tokens with access to organization resources
 - Update the access to organization resources via fine-grained personal access tokens
 - Update the access a fine-grained personal access token has to organization resources
 - List repositories a fine-grained personal access token has access to
 
 - 规则套件的 REST API 终结点
 - 规则的 REST API 终结点
 - 适用于安全管理器的 REST API 终结点
 - 适用于组织 Webhook 的 REST API 终结点
- List organization webhooks
 - Create an organization webhook
 - Get an organization webhook
 - Update an organization webhook
 - Delete an organization webhook
 - Get a webhook configuration for an organization
 - Update a webhook configuration for an organization
 - List deliveries for an organization webhook
 - Get a webhook delivery for an organization webhook
 - Redeliver a delivery for an organization webhook
 - Ping an organization webhook