Skip to main content

Reference documentation for GraphQL schema types in the Dependency graph category.

Objects

DependencyGraphDependency

Object

A dependency manifest entry.

Fields for DependencyGraphDependency

NameDescription

hasDependencies (Boolean!)

Does the dependency itself have dependencies?.

packageLabel (String!)

The original name of the package, as it appears in the manifest.

Warning

packageLabel is deprecated.

packageLabel will be removed. Use normalized packageName field instead. Removal on 2022-10-01 UTC.

packageManager (String)

The dependency package manager.

packageName (String!)

The name of the package in the canonical form used by the package manager.

packageUrl (URI)

Public preview: The dependency package URL.

relationship (String!)

Public preview: The relationship of the dependency. Can be direct, transitive, or unknown.

repository (Repository)

The repository containing the package.

requirements (String!)

The dependency version requirements.

DependencyGraphDependencyConnection

Object

The connection type for DependencyGraphDependency.

Fields for DependencyGraphDependencyConnection

NameDescription

edges ([DependencyGraphDependencyEdge])

A list of edges.

nodes ([DependencyGraphDependency])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DependencyGraphDependencyEdge

Object

An edge in a connection.

Fields for DependencyGraphDependencyEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DependencyGraphDependency)

The item at the end of the edge.

DependencyGraphManifest

Object

Dependency manifest for a repository.

DependencyGraphManifest Implements

Fields for DependencyGraphManifest

NameDescription

blobPath (String!)

Path to view the manifest file blob.

dependencies (DependencyGraphDependencyConnection)

A list of manifest dependencies.

Arguments for dependencies

  • after (String)

    Returns the elements in the list that come after the specified cursor.

  • before (String)

    Returns the elements in the list that come before the specified cursor.

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

dependenciesCount (Int)

The number of dependencies listed in the manifest.

exceedsMaxSize (Boolean!)

Is the manifest too big to parse?.

filename (String!)

Fully qualified manifest filename.

id (ID!)

The Node ID of the DependencyGraphManifest object.

parseable (Boolean!)

Were we able to parse the manifest?.

repository (Repository!)

The repository containing the manifest.

DependencyGraphManifestConnection

Object

The connection type for DependencyGraphManifest.

Fields for DependencyGraphManifestConnection

NameDescription

edges ([DependencyGraphManifestEdge])

A list of edges.

nodes ([DependencyGraphManifest])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DependencyGraphManifestEdge

Object

An edge in a connection.

Fields for DependencyGraphManifestEdge

NameDescription

cursor (String!)

A cursor for use in pagination.

node (DependencyGraphManifest)

The item at the end of the edge.

Enums

DependencyGraphEcosystem

Enum

The possible ecosystems of a dependency graph package.

Values for DependencyGraphEcosystem

NameDescription
ACTIONS

GitHub Actions.

COMPOSER

PHP packages hosted at packagist.org.

GO

Go modules.

MAVEN

Java artifacts hosted at the Maven central repository.

NPM

JavaScript packages hosted at npmjs.com.

NUGET

.NET packages hosted at the NuGet Gallery.

PIP

Python packages hosted at PyPI.org.

PUB

Dart packages hosted at pub.dev.

RUBYGEMS

Ruby gems hosted at RubyGems.org.

RUST

Rust crates.

SWIFT

Swift packages.