Skip to main content
REST API reference

Retrieve the software package information

Retrieves information about software packages, which helps you manage and assess the available software packages in your environment.

HTTP method and endpoint

GET /cluster/software/packages/{version}

Introduced in

ONTAP 9.6

Usage notes

Retrieves the software package information.

  • cluster image package show-repository

Parameters

Name Type In Required Description

version

string

path

True

fields

array[string]

query

False

Specify the fields to return.

Response

Status: 200, Ok
Name Type Description

_links

_links

create_time

string

Indicates when this package was loaded

version

string

Version of this package

  • example: ONTAP_X

  • readOnly: 1

  • Introduced in: 9.6

  • x-nullable: true

Example response
{
  "_links": {
    "self": {
      "href": "/api/resourcelink"
    }
  },
  "create_time": "2019-02-04 19:00:00 +0000",
  "version": "ONTAP_X"
}

Error

Status: Default, Error
Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

href

Name Type Description

href

string

Name Type Description

self

href

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.