The installPackageFromRegistryV2() GraphQL mutation field is used to install a package in a specific view in LogScale.

For more information on packages, see the Packages documentation page.

Syntax

Below is the syntax for the installPackageFromRegistryV2() mutation field:

graphql
installPackageFromRegistryV2(
     InstallPackageFromRegistryInput: InstallPackageFromRegistryInput!
   ): InstallPackageFromRegistryResult!

Given Datatypes

For the given datatype, InstallPackageFromRegistryInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: InstallPackageFromRegistryInput

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 18, 2024
queryOwnershipTypeQueryOwnershipTypeyes The query ownership type. See QueryOwnershipType.
packageIdVersionedPackageSpecifieryes The unique identifier of the package. VersionedPackageSpecifier. is a scalar value.
viewNameRepoOrViewNameyes The name of the view. RepoOrViewName. is a scalar value.

Returned Datatypes

The returned datatype InstallPackageFromRegistryResult has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: InstallPackageFromRegistryResult

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 25, 2024
packagePackage2yes The package from which to install. See Package2.