Skip to main content
Skip table of contents

API

All API information can be found here.

Example API call - Exporting a ruleset

  1. If you have not already created a ruleset, create one with the selected sandbox/connector

  2. Get an API token from a browser session

    • For Chrome 

      • Go to More Tools -> Developer Tools

      • Click Application on the top panel

      • On the left pane select , Local Storage on the Storage Section

      • Copy the Value that corresponds to the <>.idtoken key and use it as the <TOKEN> for the API calls described below

    • For Firefox

      • Go to More Tools -> Web Developer Tools

      • Click Storage on the top panel

      • Click on Local Storage

      • Select apps.delphix.com

      • Copy the Value that corresponds to the <>.idtoken key and use it as the <TOKEN> for the API calls described below

  3. Access https://api-docs.apps.delphix.com/ and look for the ruleset API

  4. API call to get all rulesets:

    TEXT
    curl --request GET
         --url 'https://api.apps.delphix.com/v1/compliance/rulesets'
         --header 'Authorization: Bearer <TOKEN>'
         --header 'Content-Type: application/json'
  5. Find the UUID of the ruleset you just created

  6. API call to get all the rules in the ruleset:

    CODE
    curl --request GET
         --url 'https://api.apps.delphix.com/v1/compliance/rulesets/<UUID>/rules?page_size=1000&page_number=1'
         --header 'Authorization: Bearer <TOKEN>'
         --header 'Content-Type: application/json'
  7. Continue calling API for all pages

JavaScript errors detected

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

If this problem persists, please contact our support.