EMC ViPR REST API

Search (SHIFT+S)

API Reference


Options

GET /api/options/{asset}

Retrieves options for AssetType form types.

Note: Hosted on HTTPS port 443
assetThe asset type to retrieve options for

Required Roles

This call has no restrictions.


Response Body

No Response Body


JSON Example

Request
GET https://192.168.0.0:443/api/options/bourne.hosts HTTP/1.1

Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json

[
    {
        "key": "urn:storageos:Host:4c4b7da7-61ee-4384-afb9-87e1fa3d045b:",
        "value": "linux2"
    },
    {
        "key": "urn:storageos:Host:4c4b7da7-61ee-9783-afb9-87e1fa3d045b:",
        "value": "linux1"
    }
]