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
CohesityCloudServicesQodex Environment for this collection. You need to set the following variables.
| Environment Variable | Description |
|---|---|
| apiKey | Cohesity Cloud Services API Key to make API calls |
| tenantID | Your Tenant ID. |
| regionId | Your Region ID. |
| HeliosEndpoint | Helios Endpoint where you will make API calls |
- There are other collection variables that will be set when you make API calls, like
RegistrationIdetc. 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 Keybutton
- Give the
apiKeya name and click theSavebutton
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
-
O365 Workflows - Unprotect O365Users Object POST https://helios.cohesity.com/v2/data-protect/protected-objects/actions
-
O365 Workflows - Unregister O365 DELETE https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{o365RegistrationId}}
-
Getting Started - Validate API Connection GET https://helios.cohesity.com/irisservices/api/v1/public/mcm/clusters/info
-
Getting Started - Get User Info (for Tenant ID) GET https://helios.cohesity.com/irisservices/api/v1/mcm/userInfo
-
Getting Started - Get Regions by Tenant ID GET https://helios.cohesity.com/v2/mcm/dms/tenants/regions?tenantId={{tenantID}}
-
Database Workflows-Oracle Workflow - Register Oracle Source POST https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations
-
O365 Workflows - Protect O365Users Object POST https://helios.cohesity.com/v2/data-protect/protected-objects
-
SaaS Connector - Get Saas Connector Image Links GET https://helios.cohesity.com/v2/mcm/rigelmgmt/regions/{{regionId}}/images
-
SaaS Connector - Create Connector and Claim token. POST https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups
-
SaaS Connector - Check SaaS Connection GET https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups?tenantId={{tenantID}}&groupId={{groupId}}&fetchToken=true