Solved

API for SLI Hash rebuild

  • 4 August 2021
  • 1 reply
  • 120 views

Currently, we rebuild SLI hash via Gooddata portal. We need to automate this process using Gooddata API. I could not find any online doc for this. Could anyone send me a complete example for the API in any language? I was told that the JSON body is as follows but I could not make it work using this limited information.

{

  "etlMode": {

    "mode": "SLI",

    "lookup":"recreate"

  }

}

 

Thanks,

DilipC.

 

icon

Best answer by Moises Morales 4 August 2021, 18:30

View original

1 reply

Userlevel 3

 I have tested the API call and can confirm it is working as expected (please see the screenshot). You have to use the endpoint: 

https://[your_domain]/gdc/md/[PID]/etl/mode
method: POST

Body:

{
"etlMode": {
"mode": "SLI",
"lookup":"recreate"
}
}

 

Please let us know if this is helpful.  

 

Best regards, 

 

Moises

Reply