Hello all, In order to schedule a data loading pro...
# gooddata-platform
l
Hello all, In order to schedule a data loading process via an API I need to have a data loading process (regular or ADD) deployed to the workspace, is it possible to deploy this process via an API as well?
1
m
Hi Luis, yes, indeed. Here is the API documentation for deploying the process: https://help.gooddata.com/doc/enterprise/en/expand-your-gooddata-platform/api-reference/?search=elements#tag/dataloading/path[…]load~1processes/post This one works for all types of processes except ADDv1 (the one loading from GoodData Datawarehouse). The API endpoint is
Copy code
POST  /gdc/projects/{projectId}/dataload/processes
and the payload depends on the type of the process.
If you would need to create a process for ADDv1 (load from GoodData Datawarehouse - Vertica) with an API call, this process is created automatically when you set the OutputStage for a particular workspace. And you can do it with this API: https://help.gooddata.com/doc/enterprise/en/expand-your-gooddata-platform/api-reference/?search=elementsoutput#tag/outputstage/p[…]~1outputStage/put For ADDv2 (load from external cloud database such as Snowflake, Postgres, redshift etc. or S3) use the API described above.
l
Hello Michal, it works! 🙂 Thanks for the help!
👍 1