Upload payload files
- POST
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /payload-files
Uploads one or more files to temporary storage and returns their identifiers; the file name of each part may be a relative path (for example 'conf/config.json') and is returned unchanged, so files with the same name in different directories stay distinguishable; pass the identifiers together with target paths in the run request to place the files in the pipeline filesystem before execution
Request example
CURLcurl -X POST "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/payload-files" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
STATUS200 OK