Skip to main content
Skip table of contents

API cookbook: host environment details

This API cookbook recipe describes how to obtain host environment details using the Delphix Engine API.

To obtain details about target host environments, list available Environment objects on the system. These environments can represent either a single host, or an Oracle cluster.

List Environment

curl -X GET -k http://delphix-server/resources/json/delphix/environment \
    -b ~/cookies.txt -H "Content-Type: application/json"

For single-host environments, the reference can be used to get information about the associated host. It is also possible to get information about all hosts (regardless of whether they are in a single-host environment or cluster) by omitting the environment query parameter.

List UNIX Environment

curl -X GET -k \
    -b ~/cookies.txt -H "Content-Type: application/json"

For more information about the content of host objects, see the /api/#Host reference on your local Delphix Engine. Depending on the type of the host, additional information may be available through the following types:

  • UnixHost

  • WindowsHost

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.