GitHub Enterprise Dependency Graph API
Endpoints to access Dependency Graph features.
Operations 8
GET
/enterprises/{enterprise}/license-compliance/policies/{policy_id}
Get the license compliance policy for an enterprise
#
PUT
/enterprises/{enterprise}/license-compliance/policies/{policy_id}
Set the license compliance policy for an enterprise
#
GET
/repos/{owner}/{repo}/dependency-graph/compare/{basehead}
Get a diff of the dependencies between commits
#
GET
/repos/{owner}/{repo}/dependency-graph/sbom
Export a software bill of materials (SBOM) for a repository
#
GET
/repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}
Fetch a software bill of materials (SBOM) for a repository
#
GET
/repos/{owner}/{repo}/dependency-graph/sbom/generate-report
Request generation of a software bill of materials (SBOM) for a repository
#
POST
/repos/{owner}/{repo}/dependency-graph/snapshots
Create a snapshot of dependencies for a repository
#
POST
/repos/{owner}/{repo}/license-compliance/package-checks
Check license compliance for packages
#
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