Skip to content

createActiveDirectoryDownloadFilesJob

Download files from an Active Directory Domain Controller snapshot Supported in v9.5+ Start an asynchronous job to download multiple files and folders from a specified Active Directory Domain Controller snapshot. The response returns an asynchronous request ID. Get the URL for downloading the ZIP file including the specific files/folders by sending a GET request to 'active_directory/request/{id}'.

Arguments

Argument Type Description
input (required) CreateActiveDirectoryDownloadFilesJobInput! Input for InternalCreateActiveDirectoryDownloadFilesJob.

Returns

AsyncRequestStatus!

Sample

mutation CreateActiveDirectoryDownloadFilesJob($input: CreateActiveDirectoryDownloadFilesJobInput!) {
  createActiveDirectoryDownloadFilesJob(input: $input) {
    endTime
    id
    nodeId
    progress
    result
    startTime
    status
  }
}
{
  "input": {
    "config": {
      "paths": [
        "example-string"
      ]
    },
    "id": "example-string"
  }
}
{
  "data": {
    "createActiveDirectoryDownloadFilesJob": {
      "endTime": "2024-01-01T00:00:00.000Z",
      "id": "example-string",
      "nodeId": "example-string",
      "progress": 0.0,
      "result": "example-string",
      "startTime": "2024-01-01T00:00:00.000Z",
      "error": {
        "message": "example-string"
      },
      "links": [
        {
          "href": "example-string",
          "rel": "example-string"
        }
      ]
    }
  }
}