This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

get

Use the get command to retrieve a specified resource through the API

Usage

The endorctl api get command retrieves a given object of a specified resource type.

endorctl api get -r [resource] [flags]

Examples

  • Get a specific project by its UUID:
endorctl api get -r Project --uuid <UUID>
  • Get a specific package version:
endorctl api get --resource "PackageVersion" --name "<ecosystem>://<name>@<version>"