Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The parameters to note in this example are preserve_owners, preserve_destination_root_owner, permissions, and account_map.

POST {{url}}v1/jobs

Code Block
{
  "name":"Basic job with Author Preservation",
  "kind": "transfer",
  "transfer": {
    "audit_level": "trace",
    "transfer_type": "copy",
    "preserve_owners": true,
    "preserve_destination_root_owner": true,
    "permissions": {
    		"policy": "add",
    		"links": false,
    		"failures": "exceptions"
    },
    "account_map": {
         "id": "{{account_map_id}}",
         "type": "account_map"
    },
    "source": {
        "connection": { "id": "{{cloudSource_connectionID}}" },
        "target": {
          "path": "/sourcePath"
        }
      },
      "destination": {
        "connection": { "id": "{{cloudDestination_connectionID}}" },
        "target": {
          "path": "/destinationPath"
        }
      },
        "simulation_mode": false
    },
    "schedule": {
        "mode": "manual"
    },
    "stop_policy": {
        "on_success": 5,
        "on_failure": 5,
        "on_execute": 25
    },
    "category": {
      "name": "Report | Author Preservation Example"
    }
}

...