Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.

This is regarding implementation of CICD pipeline for dataprep plan across projects. Need to know how to modify the GCS path of an outputobject using API.

For example if an outputobject in a flow has a GCS path gs://abc-bucket I want to change it to gs://xyz-bucket once I import the plan in the new project.

 

API that I am using currently for export, import and importdataset modification are as follows. 

 

EXPORT:

 

curl -L -X GET "https://api.clouddataprep.com/v4/plans/$plan_id/package" -H "Authorization: Bearer $DEV_BEARER_TOKEN" --data-raw '' -o plan_Demo_task.zip

 

 

IMPORT:

 

curl -L -X POST "https://api.clouddataprep.com/v4/plans/package" -H "Authorization: Bearer $QA_BEARER_TOKEN" -F "package=@plan_Demo_task.zip" -o id_details.json

 

 

IMPORTED DATASET MODIFICATION:

 

curl -L -X PUT "https://api.clouddataprep.com/v4/importedDatasets/$input_id" -H "Authorization: Bearer $QA_BEARER_TOKEN" -H "Content-Type: application/json" --data-raw "

 

{

 

\"name\": \"$datasetname\",

 

\"bucket\": \"$bucket_name\",

 

\"path\": \"/$path\"

 

}"

 

 

 

 

 

 

 

1 REPLY 1
Trifacta_Alumni
Alteryx Alumni (Retired)

Hi @Samiran Mondal? ,

 

It looks like the "PATCH writesettings" API endpoint will allow you to modify your output dataset configuration. Here's the link:

https://api.trifacta.com/dataprep-enterprise-cloud/index.html#operation/patchWriteSetting

 

Let me know if this works!