Learn about creating and managing virtual drives, mapped to resources on external storage services, via the DNAnexus API.
/drive/newThis API creates a new drive from the specified external storage service. On success, the requesting user has permissions to perform tasks associated with the external storage.
name string name of the drive
cloud string (azure or aws): Drive cloud provider
credentials
id string id of the created drive
Unauthorized
Must supply authentication token
InvalidInput
The input is not a hash
/drive-xxxx/disableThis API disables a drive. The requesting user must have permissions to use the drive.
id string id of the disabled drive
Unauthorized
Must supply authentication token
ResourceNotFound
The entity drive-xxxx could not be found
/drive-xxxx/updateUpdates information about a drive. The requesting user must have permissions to use the drive.
name string (optional): New user specified name of drive
credentials mapping (optional): New credentials associated with the drive
key string credential field
id string ID of the updated drive
Unauthorized
Must supply authentication token
InvalidInput
The input is not a hash
/drive-xxxx/describeDescribes a drive.
fields mapping (optional): Include or exclude fields from the output.
key string Desired output field (see the "Outputs" section below for valid values)
value boolean Whether to include the field
id string ID of the drive
name string name of the drive
cloud string cloud provider of the drive
Unauthorized
Must supply authentication token
InvalidInput
The input is not a hash
key string credential field
value string credential value
name is not a nonempty string
cloud is not a string
credentials is not hash
credentials cannot access the given cloud environment
value string credential value
name (if provided) is not a nonempty string
credentials (if provided) is not hash
credentials (if provided) cannot access given cloud environment
ResourceNotFound
The entity drive-xxxx could not be found
created timestamp time at which this object was created
modified timestamp time at which this object was last modified
fields (if provided) is not hash
name (if provided) is not boolean
cloud (if provided) is not boolean
id (if provided) is not boolean
created (if provided) is not boolean
modified (if provided) is not boolean
ResourceNotFound
The entity drive-xxxx could not be found