Codecov API v1 deprecation in progress
Please use the Codecov API v2. Documentation can be found here.
The tree graph is a block style layout of your repository. Each block represents a single file in the repository. The size of each block is the number of covered statements and methods in the file. The color is based on that files coverage. Each block includes a link to the file, which you may click to redirect to the file.
# tip of default branch
GET /gh/:owner/:repo/graphs/tree.svg?token=:graph_token
# tip of branch
GET /gh/:owner/:repo/branch/:branch/graphs/tree.svg?token=:graph_token
# tip of pull
GET /gh/:owner/:repo/pull/:id/graphs/tree.svg?token=:graph_token
# specific commit
GET /gh/:owner/:repo/commit/:sha/graphs/tree.svg?token=:graph_token
Click on a file below to navigate to the file's coverage in Codecov.
<object data="https://codecov.io/gh/docker/notary/branch/master/graphs/tree.svg" type="image/svg+xml"></object>
Parameters
Provide query arguments to customize the graph.
Param | Default |
---|---|
width | 500 |
height | 500 |
border_size | 1 |
border_color | white |