Zum Inhalt springen

copy

Copy a object (and its children in recurse mode) to another object. It does copy content of the object, like groups, permissions, files, etc. This operation runs in a background worker.

Type: JobResult!

Arguments

  • count: Int — default: 1 — Count for the operation.
  • destinationID: UID! — UID of the destination to modify.
  • orderMode: CopyOrderMode — Order mode for the operation.
  • recursive: Boolean — Recursive for the operation.
  • sourceID: UID! — UID of the source to modify.
mutation($count: Int, $destinationID: UID!, $orderMode: CopyOrderMode, $recursive: Boolean, $sourceID: UID!) {
copy(count: $count, destinationID: $destinationID, orderMode: $orderMode, recursive: $recursive, sourceID: $sourceID) {
errorData
errorMessage
errorType
id
message
name
status
}
}