...
Creating a basic Amazon S3 Connection
Create a basic Amazon S3 connection using the following information.
POST {{url}}/v1/connections/ |
---|
Code Block |
---|
{
"name": "amazon S3",
"platform": {
"id": "amazon-s3"
},
"auth": {
"client_id":"{{client_id}}",
"client_secret":"{{client_secret}}"
}
} |
|
Creating a Job Configuration Example
POST {{url}}v1/jobs |
---|
Code Block |
---|
{
"name":"Simple Job",
"kind": "transfer",
"transfer": {
"transfer_type": "copy",
"source": {
"connection": { "id": "Source Connection ID" },
"target": {
"path": "/sourceDocumentLibrary"
}
},
"destination": {
"connection": { "id": "Destination Connections ID" },
"target": {
"path": "/destinationFolder"
}
},
"simulation_mode": false
},
"schedule": {
"mode": "manual"
},
"stop_policy": {
"on_success": 5,
"on_failure": 5,
"on_execute": 25
},
"category": {
"name": "Report {Name}"
}
} |
|