GitHub Enterprise Repos API
Interact with GitHub Repos.
Operations 211
DELETE
/repos/{owner}/{repo}/autolinks/{autolink_id}
Delete an autolink reference from a repository
#
GET
/repos/{owner}/{repo}/automated-security-fixes
Check if Dependabot security updates are enabled for a repository
#
POST
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins
Set admin branch protection
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins
Delete admin branch protection
#
GET
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews
Get pull request review protection
#
PATCH
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews
Update pull request review protection
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews
Delete pull request review protection
#
GET
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures
Get commit signature protection
#
POST
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures
Create commit signature protection
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures
Delete commit signature protection
#
GET
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
Get status checks protection
#
PATCH
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
Update status check protection
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
Remove status check protection
#
GET
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
Get all status check contexts
#
POST
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
Add status check contexts
#
PUT
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
Set status check contexts
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts
Remove status check contexts
#
GET
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
Get apps with access to the protected branch
#
POST
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
Add app access restrictions
#
PUT
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
Set app access restrictions
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps
Remove app access restrictions
#
GET
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
Get teams with access to the protected branch
#
POST
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
Add team access restrictions
#
PUT
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
Set team access restrictions
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams
Remove team access restrictions
#
GET
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
Get users with access to the protected branch
#
POST
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
Add user access restrictions
#
PUT
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
Set user access restrictions
#
DELETE
/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users
Remove user access restrictions
#
GET
/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}
Get a repository push bypass request
#
GET
/repos/{owner}/{repo}/collaborators/{username}/permission
Get repository permissions for a user
#
GET
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}
Get a deployment status
#
GET
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
List deployment branch policies
#
POST
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
Create a deployment branch policy
#
GET
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}
Get a deployment branch policy
#
PUT
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}
Update a deployment branch policy
#
DELETE
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}
Delete a deployment branch policy
#
GET
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules
Get all deployment protection rules for an environment
#
POST
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules
Create a custom deployment protection rule on an environment
#
GET
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps
List custom deployment rule integrations available for an environment
#
GET
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}
Get a custom deployment protection rule
#
DELETE
/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}
Disable a custom protection rule for an environment
#
PATCH
/repos/{owner}/{repo}/hooks/{hook_id}/config
Update a webhook configuration for a repository
#
GET
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}
Get a delivery for a repository webhook
#
POST
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts
Redeliver a delivery for a repository webhook
#
GET
/repos/{owner}/{repo}/immutable-releases
Check if immutable releases are enabled for a repository
#
GET
/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}
Get the status of a GitHub Pages deployment
#
POST
/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel
Cancel a GitHub Pages deployment
#
GET
/repos/{owner}/{repo}/private-vulnerability-reporting
Check if private vulnerability reporting is enabled for a repository
#
PUT
/repos/{owner}/{repo}/private-vulnerability-reporting
Enable private vulnerability reporting for a repository
#
DELETE
/repos/{owner}/{repo}/private-vulnerability-reporting
Disable private vulnerability reporting for a repository
#
PATCH
/repos/{owner}/{repo}/properties/values
Create or update custom property values for a repository
#
GET
/repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}
Get repository ruleset version
#
GET
/repos/{owner}/{repo}/vulnerability-alerts
Check if vulnerability alerts are enabled for a repository
#
Documentation
📖
Documentation
https://docs.github.com/en/enterprise-cloud@latest/rest
📖
RateLimits
https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api
📖
Authentication
https://docs.github.com/en/enterprise-cloud@latest/rest/overview/authenticating-to-the-rest-api
📖
Documentation
https://docs.github.com/en/enterprise-cloud@latest/graphql
📖
Documentation
https://docs.github.com/en/enterprise-server@latest/rest
📖
Documentation
https://docs.github.com/en/enterprise-server@latest/graphql
Specifications
Schemas & Data
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-repository-schema.json
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-full-repository-schema.json
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-app-permissions-schema.json
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-team-repository-schema.json
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-schema.json
📊
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-pull-request-schema.json