About performing operations using Veritas InfoScale Operations Manager Web services API

Table: Operations and URLs lists the URLs you can use to view the objects and manage their extended attributes. The supported output format is JSON. The extended attributes are reported in the metadata with editable value set to true. All successful operations return HTTP 200 OK response. An unsuccessful operation has an error element in the output which describes the error condition.

Table: Operations and URLs

Operation

HTTP method

URL

Get metadata for object

GET

base_url/meta/perspective/object type

Define extended attribute

POST

base_url/meta/perspective/object type/add?name=ea_name

Delete extended attribute

POST

base_url/meta/perspective/object type/delete?name=ea_name

Modify extended attribute

POST

base_url/meta/perspective/object type/modify?name=ea_name&new_name=ea_new_name

Set extended attribute

POST

base_url/update/perspective/object type/object id?ea_name=value

Get object attributes

GET

base_url/query/perspective/object type/object id

Where base_url is https://ManagementServer_hostname:14161/vom/api. Object type is the objects supported by Veritas InfoScale Operations Manager Web services API, for example host, cluster, LDEV, and virtualization server. ea_name is the name of the extended attribute and value is the value you assign to the extended attribute.

Using the Veritas InfoScale Operations Manager Web services API you can also perform the following operations:

Use the following URL to view the above listed operations.

base_url/op/

The GET request on an operation URL shows a sample URL for executing the operation along with the payload information.

For example to start the replication of a replicated volume group (RVG), the start_replication operation URL would include the host ID along with the RVG ID.

base_url/op/server/host/{host_id}/rvg/{rvg_id}/startreplication

Enter the operation URL and the payload information in any HTTPS client to execute the operation. On successful completion of the operation, the Task URL is displayed. Click on the Task URL to view complete information about the operation.

operation_urls are displayed when base_url/query is executed for an object. This is the list of operations that can be performed on that object.

Note:

operation_urls are displayed only when there are operations which are supported from Web API. If there are no operations available operation_urls is not displayed.

More Information

About using Veritas InfoScale Operations Manager Web services API

Logging in to Veritas InfoScale Operations Manager Web services API