GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}
Gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits.
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
repo |
String | Yes |
The name of the repository without the |
owner |
String | Yes |
The account owner of the repository. The name is not case sensitive. |
basehead |
String | Yes |
The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their corresponding HEAD commits, and an appropriate merge base will be determined. This parameter expects the format |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
name |
String | No |
The full path, relative to the repository root, of the dependency manifest file. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.