Branches
Branch detail
Returns a single branch by name. Includes head commit information embedded in the response.
get/{service}/{owner_username}/repos/{repo_name}/branches/{name}/
Request
- Base URLhttps://api.codecov.io/api/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
branch name
owner_usernamestring required
username from service provider
repo_namestring required
repository name
service'bitbucket' | 'bitbucket_server' | 'github' | 'github_enterprise' | 'gitlab' | 'gitlab_enterprise' required
Git hosting service provider
Response
Changes
No recorded changes to this operation across all 1 revision of this API.