メイン コンテンツに進む

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.

このコンテンツを評価する

正確
有益
分かりやすい
この記事は役に立ちましたか?
0/3000 characters
  1~5個の星の数で評価してください。
  1~5個の星の数で評価してください。
  1~5個の星の数で評価してください。
  この記事は役に立ちましたか?
  コメントでは、以下の特殊文字は利用できません: <>()\