Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Unity™ Family Unisphere® Management REST API Programmer's Guide

PDF

Instance resource

An instance resource occurs in response to a GET instance request that results in a 200 OK HTTP status code. By default, this response body contains all available information about the requested resource instance. (The same information appears in the "entries" array of the collection resource.) You can limit the amount of data returned by using the ?fields, and ?compact query parameters.

The following example illustrates the components of an instance resource. It shows an instance resource returned in response to a GET instance request for the alert resource type with an id of alert_1. Spaces outside the quoted strings are used for readability, and are not significant.

Request

GET https://10.245.23.125/api/instances/alert/alert_1?fields=severity,description

Response

{
  "@base": "https://10.245.23.125/api/instances/alert",
Instance base URI. All links within this scope use this base URI.
   "updated": "2015-11-19T21:36:40.360Z",
Date and time the response was generated.
"links": [
     {
       "rel": "self",
       "href": "/ alert_1"
     }
   ],
Self-link to this resource. Using the ?compact=true query parameter suppresses this link.
 "content": {
   "id": "alert_1",
   "severity": 4,
   "description": "The DNS client configured for the NAS server has faulted. Contact your service provider."
 }
}
Returned content, in which the attribute values are a set of name:value pairs.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\