The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for repositories
Use the REST API to create, manage and control the workflow of public and private GitHub repositories.
- REST API endpoints for repositories
- List organization repositories
- Create an organization repository
- Get a repository
- Update a repository
- Delete a repository
- List repository activities
- Check if Dependabot security updates are enabled for a repository
- List CODEOWNERS errors
- List repository contributors
- Create a repository dispatch event
- List repository languages
- List repository cache replication status
- List repository tags
- List repository teams
- Get all repository topics
- Replace all repository topics
- Transfer a repository
- Check if vulnerability alerts are enabled for a repository
- Enable vulnerability alerts
- Disable vulnerability alerts
- Create a repository using a template
- List public repositories
- List repositories for the authenticated user
- Create a repository for the authenticated user
- List repositories for a user
- REST API endpoints for repository autolinks
- REST API endpoints for repository contents
- REST API endpoints for custom properties
- REST API endpoints for forks
- REST API endpoints for Git LFS
- REST API endpoints for rule suites
- REST API endpoints for rules
- REST API endpoints for repository tags
- REST API endpoints for repository webhooks
- List repository webhooks
- Create a repository webhook
- Get a repository webhook
- Update a repository webhook
- Delete a repository webhook
- Get a webhook configuration for a repository
- Update a webhook configuration for a repository
- List deliveries for a repository webhook
- Get a delivery for a repository webhook
- Redeliver a delivery for a repository webhook
- Ping a repository webhook
- Test the push repository webhook