POST /pipelines
curl -X POST -H "Authorization: Bearer um9VmyJKTPGFqpkL_THjGE5rkXqfURDYqQ8MTBVidG3PtwkfABIdx6s_z9WlFl4_j" -H "application/json" -d '{ \ "pipeline": { \ "name": "My own test Pipeline", \ "description": "My test Pipeline with input from S3 and output to my company sftp account", \ "cancel_timeout": 60, \ "default_object_timeout": "3600", \ //In seconds "input_download_dir": "s3://AWSKEY:AWSSECRET@s3.amazonaws.com/my_bucket/", \ "image_download_dir": "https://username:password@mycompanyserver.com/my_logos/", \ "download_options": { \ "https_certificate_check": false \ }, \ "output_upload_dir": "s3://AWSKEY:AWSSECRET@s3.amazonaws.com/my_bucket/", \ "image_upload_dir": "sftp://username:password@mycompanyserver.com/my_folder/", \ "upload_options": { \ "s3_allow_read": "everyone", \ "s3_reduced_redundancy": true \ }, \ "store_options": { \ "mode": "temporary" \ }, \ "ping_urls": { \ "error": "https://mycompany.com/ping/on_error", \ "warning": "https://mycompany.com/ping/on_warning", \ "started": "https://mycompany.com/ping/start_job", \ "finished": "https://mycompany.com/ping/finish_job" \ } \ } \ }' "https://api.xvid.com/v1/pipelines/?human=true&show_null=true" |
Valid Fields: