Cohesity-Cloud-Services

Number of APIs: 75

Description

Cohesity Cloud Services API collection where you will find API examples for various workflows like Getting Started, SaaS Connector workflow, VMware, O365 and others. The API documentation can be found in the Cohesity Developers Portal.

Environment Variables

  • Choose the CohesityCloudServices Qodex Environment for this collection. You need to set the following variables.
Environment VariableDescription
apiKeyCohesity Cloud Services API Key to make API calls
tenantIDYour Tenant ID.
regionIdYour Region ID.
HeliosEndpointHelios Endpoint where you will make API calls
  • There are other collection variables that will be set when you make API calls, like RegistrationId etc. These collection variables will be used further during subsequent API calls

Getting Started with Helios APIs

Get apiKey to make API calls

Before making any API requests, the first step is to generate an apiKey from Helios UI. This apiKey needs to be passed in the header of the API call to Helios.

Steps

  • Login to Helios using your username and password.
  • Choose Protection > DataProtect as a Service
  • From left Nav, goto Settings >Access Management
  • From the available tabs, select API Keys
  • Click on Add API Key button
  • Give the apiKey a name and click the Save button

Note: once you navigate to a different page from this page, you won't be able to view the apiKey again. So copy and save the apiKey Making API calls

The Getting Started workflows has API calls that you will need to make to collect information like your TenantID and RegionID that will be used in other workflows such as VMware and 0365.

Contribute

You can also contribute to this collection by submitting your collections and/or workflows. You can fork our Workspace and then submit a merge request.

Feedback

If you want to see more collections/use-cases reach out to: suppport@cohesity.com

  1. O365 Workflows - Unprotect O365Users Object POST https://helios.cohesity.com/v2/data-protect/protected-objects/actions

  2. O365 Workflows - Unregister O365 DELETE https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{o365RegistrationId}}

  3. Getting Started - Validate API Connection GET https://helios.cohesity.com/irisservices/api/v1/public/mcm/clusters/info

  4. Getting Started - Get User Info (for Tenant ID) GET https://helios.cohesity.com/irisservices/api/v1/mcm/userInfo

  5. Getting Started - Get Regions by Tenant ID GET https://helios.cohesity.com/v2/mcm/dms/tenants/regions?tenantId={{tenantID}}

  6. Database Workflows-Oracle Workflow - Register Oracle Source POST https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations

  7. O365 Workflows - Protect O365Users Object POST https://helios.cohesity.com/v2/data-protect/protected-objects

  8. SaaS Connector - Get Saas Connector Image Links GET https://helios.cohesity.com/v2/mcm/rigelmgmt/regions/{{regionId}}/images

  9. SaaS Connector - Create Connector and Claim token. POST https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups

  10. SaaS Connector - Check SaaS Connection GET https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups?tenantId={{tenantID}}&groupId={{groupId}}&fetchToken=true