Delphix Products

 View Only
  • 1.  API end point to get the number of objects in a Delphix Engine

    Posted 02-03-2025 02:42:00 PM

    Hello,

    If I wanted to get the number of objects (dSource + VDBs) from an Delphix Engine via calling an API which end point(s) would be useful?

    Is there a way to get the dSources first and then get the VDBs?



    ------------------------------
    Rahim Cetinel
    Lead Dataops Architect | Delphix Blackbelt
    ------------------------------


  • 2.  RE: API end point to get the number of objects in a Delphix Engine

    Posted 02-03-2025 02:58:00 PM

    Hi Rahim, if you have DX Toolkit, this would be the best command

    dx_get_hierarchy · delphix/dxtoolkit Wiki · GitHub



    ------------------------------
    Robert Henning
    Lead Member of Technical Staff
    AthenaHealth
    ------------------------------



  • 3.  RE: API end point to get the number of objects in a Delphix Engine

    Posted 02-04-2025 01:44:00 AM

    Hi Robert,

    Thanks for the idea.

    I have also checked dx_get_db_env command.

    After that I have gone into the code and checked which API calls are being made to the engine. For both dx_get_db_env and dx_get_hierarchy.

    I think this is a good way to find API end point.

    Looks like making a below call should give me the list of VDBs

    GET /resources/json/delphix/database?type=VDB 



    ------------------------------
    Rahim Cetinel
    Lead Dataops Architect | Delphix Blackbelt
    ------------------------------