REST API 现已开始进行版本化。 有关详细信息,请参阅“关于 API 版本控制”。
适用于组织的 REST API 终结点
使用 REST API 控制并管理你所有的 GitHub 组织。
- 适用于组织的 REST API 终结点, 1 of 13
- List organizations, 1 of 15
- Get an organization, 2 of 15
- Update an organization, 3 of 15
- Delete an organization, 4 of 15
- Get the audit log for an organization, 5 of 15
- List app installations for an organization, 6 of 15
- Get immutable releases settings for an organization, 7 of 15
- Set immutable releases settings for an organization, 8 of 15
- List selected repositories for immutable releases enforcement, 9 of 15
- Set selected repositories for immutable releases enforcement, 10 of 15
- Enable a selected repository for immutable releases in an organization, 11 of 15
- Disable a selected repository for immutable releases in an organization, 12 of 15
- Enable or disable a security feature for an organization, 13 of 15
- List organizations for the authenticated user, 14 of 15
- List organizations for a user, 15 of 15
- 组织推送规则绕过请求的 REST API 终结点, 2 of 13
- 自定义属性的 REST API 终结点, 3 of 13
- Get all custom properties for an organization, 1 of 7
- Create or update custom properties for an organization, 2 of 7
- Get a custom property for an organization, 3 of 7
- Create or update a custom property for an organization, 4 of 7
- Remove a custom property for an organization, 5 of 7
- List custom property values for organization repositories, 6 of 7
- Create or update custom property values for organization repositories, 7 of 7
- 组织自定义属性值的 REST API 终结点, 4 of 13
- 适用于自定义存储库角色的 REST API 终结点, 5 of 13
- Closing down - List custom repository roles in an organization, 1 of 7
- List custom repository roles in an organization, 2 of 7
- Create a custom repository role, 3 of 7
- Get a custom repository role, 4 of 7
- Update a custom repository role, 5 of 7
- Delete a custom repository role, 6 of 7
- List repository fine-grained permissions for an organization, 7 of 7
- 适用于组织成员的 REST API 终结点, 6 of 13
- List organization members, 1 of 13
- Check organization membership for a user, 2 of 13
- Remove an organization member, 3 of 13
- Get organization membership for a user, 4 of 13
- Set organization membership for a user, 5 of 13
- Remove organization membership for a user, 6 of 13
- List public organization members, 7 of 13
- Check public organization membership for a user, 8 of 13
- Set public organization membership for the authenticated user, 9 of 13
- Remove public organization membership for the authenticated user, 10 of 13
- List organization memberships for the authenticated user, 11 of 13
- Get an organization membership for the authenticated user, 12 of 13
- Update an organization membership for the authenticated user, 13 of 13
- 适用于组织角色的 REST API 终结点, 7 of 13
- List organization fine-grained permissions for an organization, 1 of 14
- Get all organization roles for an organization, 2 of 14
- Create a custom organization role, 3 of 14
- Remove all organization roles for a team, 4 of 14
- Assign an organization role to a team, 5 of 14
- Remove an organization role from a team, 6 of 14
- Remove all organization roles for a user, 7 of 14
- Assign an organization role to a user, 8 of 14
- Remove an organization role from a user, 9 of 14
- Get an organization role, 10 of 14
- Update a custom organization role, 11 of 14
- Delete a custom organization role., 12 of 14
- List teams that are assigned to an organization role, 13 of 14
- List users that are assigned to an organization role, 14 of 14
- 适用于外部协作者的 REST API 终结点, 8 of 13
- 适用于个人访问令牌的 REST API 终结点, 9 of 13
- List requests to access organization resources with fine-grained personal access tokens, 1 of 8
- Review requests to access organization resources with fine-grained personal access tokens, 2 of 8
- Review a request to access organization resources with a fine-grained personal access token, 3 of 8
- List repositories requested to be accessed by a fine-grained personal access token, 4 of 8
- List fine-grained personal access tokens with access to organization resources, 5 of 8
- Update the access to organization resources via fine-grained personal access tokens, 6 of 8
- Update the access a fine-grained personal access token has to organization resources, 7 of 8
- List repositories a fine-grained personal access token has access to, 8 of 8
- 规则套件的 REST API 终结点, 10 of 13
- 规则的 REST API 终结点, 11 of 13
- Get all organization repository rulesets, 1 of 7
- Create an organization repository ruleset, 2 of 7
- Get an organization repository ruleset, 3 of 7
- Update an organization repository ruleset, 4 of 7
- Delete an organization repository ruleset, 5 of 7
- Get organization ruleset history, 6 of 7
- Get organization ruleset version, 7 of 7
- 适用于安全管理器的 REST API 端点, 12 of 13
- 用于组织 Webhooks 的 REST API 接口节点, 13 of 13
- List organization webhooks, 1 of 11
- Create an organization webhook, 2 of 11
- Get an organization webhook, 3 of 11
- Update an organization webhook, 4 of 11
- Delete an organization webhook, 5 of 11
- Get a webhook configuration for an organization, 6 of 11
- Update a webhook configuration for an organization, 7 of 11
- List deliveries for an organization webhook, 8 of 11
- Get a webhook delivery for an organization webhook, 9 of 11
- Redeliver a delivery for an organization webhook, 10 of 11
- Ping an organization webhook, 11 of 11