Rubrik CDM REST API to RSC GraphQL API Mapping
If you rely on Rubrik CDM APIs to automate various management operations in your Rubrik deployment, the Rosetta Stone API mapping will be useful as you migrate from Rubrik CDM to Rubrik Security Cloud (RSC) for your management tasks. RSC relies on GraphQL queries and mutations to accomplish the tasks that were performed using REST APIs in Rubrik CDM.
In Rubrik CDM version 9.0, the majority of CDM APIs are read-only. Updates in CDM versions 9.1.0-p1, 9.0.3-p1, 8.1.3-p7, and later remove the read-only limitation from a subset of these APIs to enable recovery operations and on-demand snapshots.
Click an API parent link in the Rubrik CDM REST API paths section to verify the availability of the specific API endpoint. The following values specify the availability:
-
Available, indicating that you can continue to use the REST API endpoint.
-
Restricted, indicating that you will need to switch over to the GraphQL endpoint corresponding to the REST API endpoint.
In some cases, you can also view the RSC GraphQL query or mutation alternatives to the REST API endpoints. The following section describes how to determine which GraphQL operations to use for your tasks.
Finding GraphQL operations in the reference schema
To locate a GraphQL query or mutation in the GraphQL reference schema, complete the following steps.
-
Access the Rubrik GraphQL query reference schema, or the Rubrik GraphQL mutation reference schema.
-
Click inside the GraphQL Schema definition panel.
-
Use Ctrl-F (Windows and Linux) or Cmd+F (Mac OS) to launch the browser search box for the HTML page.
-
Enter the GraphQL operation name. The search results will include similar matches in the left navigation pane.
-
In the schema definition panel, find the matching GraphQL operation.