import_files

Import files

Input fields

file_keys ([String!]!)

An array of file IDs obtained via the create_file_upload or create_file_uploads mutation which represent the uploaded files.

file_type (FileType!)

The type of the files.

owner_sentera_id (ID!)

The ID of the owner to which the files should be attached.

owner_type (FileOwnerType!)

The type of owner to which the files should be attached.

Return fields

status (AsyncProcessStatus!)

The status of the import process.

Examples

Import Files

Imports one or more files into the Sentera platform using the ids of files that were previously uploaded to Sentera's cloud storage.

Try this example in GraphiQL
mutation ImportFiles{
  import_files(
  owner_type: FEATURE_SET
  owner_sentera_id: "f6tdqyc_FS_uvd2Acme_CV_deve_2d3c31f0c_200325_084220"
  file_type: FLIGHT_LOG
  file_keys: ["eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBkUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a5bf542bb03268557328e65a30c8c36ea675e1a7"]
  ) {
  status
  }
}

{
  "data": {
  "import_files": {
    "status": "QUEUED"
  }
  }
}