Hello world

Contributors netapp-ranuk Download PDF of this page

You can issue a curl command to get started using the Cloud Manager REST API and confirm its availability.

Note The example provided below is very simple. The workflow samples later in this guide use a more robust format. As a start, see Understanding the workflow processes.
Before you begin

You must do the following:

Curl example

The following curl command retrieves information about the Cloud Manager server.

curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/occm/system/about' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Output example

Information about the system is provided in the following format.

{
  "version": "string",
  "build": "string",
  "buildTimestamp": "integer",
  "systemId": "string",
  "environment": "string",
  "siteIdentifier": {
    "company": "string",
    "host": "string",
    "site": "string"
  },
  "serverTimeZone": {
    "timeZoneName": "string",
    "formattedTimeZone": "string"
  },
  "beta": "boolean",
  "releaseNumber": "integer",
  "simplicatorUrl": "string",
  "migrationPerformed": "boolean",
  "demoMode": "boolean",
  "usingDockerInfra": "boolean",
  "privateIp": "string"
}