JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle® ZFS Storage Appliance RESTful Application Programming Interface
Oracle Technology Network
Print View
search filter icon
search icon

Document Information

Using This Documentation

Chapter 1 Overview

Chapter 2 Working with the API

Chapter 3 Alert Service Commands

Chapter 4 Analytics Services

Chapter 5 Hardware Services

Chapter 6 Log Commands

Chapter 7 Network Commands

Chapter 8 Problem Service Commands

Chapter 9 Role Service

Chapter 10 SAN Services

Chapter 11 Service Commands

Chapter 12 Storage Services

Chapter 13 System Commands

Appliance System Commands

Get Version

Power Off System

Reboot System

Restart System Management

Diagnostic Reboot

Factory Reset

System Support Bundles

Create Support Bundle

List Support Bundles

Get Support Bundle

Cancel Support Bundle

Retry Support Bundle Upload

Upload Support Bundle

Delete Support Bundle

System Updates

List System Updates

Get System Update

Upload System Update



Delete Update Image

Chapter 14 User Service

Chapter 15 Workflow Commands

Chapter 16 RESTful Clients

Upload System Update

This command uploads a new system update image.

Example Upload Command Using curl:

curl --user root:letmein -k --data-binary @nas@2013.08.24,1-0.pkg.gz \
    --header "Content-Type: application/octet-stream" \

After the image is uploaded and is unpacked, the properties of the update image are returned. The HTTP status is set to 201 (Created) on success and the relative location of the new image is returned in the location header.

Example Results:

HTTP/1.1 201 Created
X-Zfssa-Appliance-Api: 1.0
Content-Length: 541
Content-Type: application/json
Location: /api/system/v1/updates/nas@2013.08.24,1-0

    "update": {
        "date": "Sat Aug 24 2013 17:54:23 GMT+0000 (UTC)",
        "href": "/api/system/v1/updates/nas@2013.08.24,1-0",
        "status": "current",
        "version": "2013.08.24,1-0",
        "update_deferred", "on_request"