File by ID.
/v1/pipeline_files/{fileID}
curl -L \ --url 'https://cloud-api.calyptia.com/v1/pipeline_files/{fileID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "processingRuleID": null, "name": "myfile", "contents": "text", "encrypted": true, "createdAt": "2025-03-12T04:34:05.825Z", "updatedAt": "2025-03-12T04:34:05.825Z" }
Delete pipeline file by its ID. The file cannot be deleted if some pipeline config is still referencing it; you must delete the pipeline first if you want to delete the file.
curl -L \ --request DELETE \ --url 'https://cloud-api.calyptia.com/v1/pipeline_files/{fileID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body
Update file by its ID.
newfile
curl -L \ --request PATCH \ --url 'https://cloud-api.calyptia.com/v1/pipeline_files/{fileID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "name": "newfile", "contents": null, "encrypted": null }'