Download GCS
- POST
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /actions
Creates a new Download GCS action in the pipeline
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/actions" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Download files from GCS",
"type": "DOWNLOAD_GCS",
"trigger_time": "ON_EVERY_EXECUTION",
"bucket_name": "bucketname",
"source_path": "source",
"destination_path": "destination",
"integration": {
"identifier": "gcp"
},
"overwrite": true,
"recursive": true,
"download_excludes": [
"/tmp",
"*.log"
],
"download_includes": [
"/tmp/assets",
"/tmp/styles"
],
"application_name": "hello-world"
}'STATUS200 OK