Skip to main content
A newer release of this product is available.

file

Contributors
Suggest changes

file-assign-qos

PATCH /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

caching-policy

No REST Equivalent

file

path

qos-adaptive-policy-group-name

qos_policy.name

qos-policy-group-name

qos_policy.name

volume

volume.uuid

vserver

No REST Equivalent

file-compact-data

This ONTAPI call does not have an equivalent REST API call.

file-copy-destroy

This ONTAPI call does not have an equivalent REST API call.

file-copy-get-iter

This ONTAPI call does not have an equivalent REST API call.

file-copy-start

POST /api/storage/file/copy

ONTAPI attribute REST attribute Comment

cutover-time

cutover_time

destination-paths

files_to_copy.destination.path

hold-quiescence

hold_quiescence

max-throughput

max_throughput

reference-cutover-time

reference_cutover_time

reference-path

reference_file.path

source-paths

files_to_copy.source.path

file-create-directory

POST /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

path

path

perm

unix_permissions

POST /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

path

path

symlink

target

file-delete-directory

DELETE /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

path

path

file-delete-file

DELETE /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

is-clone-file

No REST Equivalent

path

path

file-fingerprint-abort

DELETE /api/storage/snaplock/file-fingerprints/{id}

ONTAPI attribute REST attribute Comment

session-id

id

file-fingerprint-dump

GET /api/storage/snaplock/file-fingerprints/{id}

ONTAPI attribute REST attribute Comment

aggregate-uuid

No REST Equivalent

file-metadata

metadata_fingerprint

filer-id

No REST Equivalent

filer-name

No REST Equivalent

fingerprint-algorithm

algorithm

fingerprint-end-time

No REST Equivalent

fingerprint-input-path

path

fingerprint-scope

scope

fingerprint-start-time

No REST Equivalent

fingerprint-version

No REST Equivalent

formatted-fingerprint-end-time

No REST Equivalent

formatted-fingerprint-start-time

No REST Equivalent

formatted-snaplock-system-compliance-clock

No REST Equivalent

formatted-snaplock-volume-compliance-clock

No REST Equivalent

formatted-volume-expiry-date

No REST Equivalent

is-volume-expiry-date-wraparound

No REST Equivalent

session-id

id

snaplock-license

No REST Equivalent

snaplock-system-compliance-clock

No REST Equivalent

snaplock-volume-compliance-clock

No REST Equivalent

volume-containing-aggregate

No REST Equivalent

volume-dsid

No REST Equivalent

volume-expiry-date

No REST Equivalent

volume-msid

No REST Equivalent

volume-name

volume.name

volume-snaplock-type

No REST Equivalent

vserver-id

svm.uuid

vserver-name

svm.name

session-id

id

file-fingerprint-get-iter

GET /api/storage/snaplock/file-fingerprints

Note: svm.uuid and volume.uuid must be passed in the query

ONTAPI attribute REST attribute Comment

file

No REST Equivalent

operation-status

No REST Equivalent

progress-percentage

No REST Equivalent

session-id

id

volume

volume.name

vserver

svm.name

max-records

max_records

The maximum number of records to return before paging

file-fingerprint-start

POST /api/storage/snaplock/file-fingerprints

ONTAPI attribute REST attribute Comment

algorithm

algorithm

file

path

scope

scope

file-get-file-info

GET /api/storage/volumes/{volume.uuid}/files/{path}?return_metadata=true

ONTAPI attribute REST attribute Comment

path

path

file-get-space-reservation-info

GET /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

path

path

volume-id

volume.uuid

is-fill-enabled

fill_enabled

is-overwrite-enabled

overwrite_enabled

file-hole-range-query-iter

This ONTAPI call does not have an equivalent REST API call.

file-inode-info-get-iter

This ONTAPI call does not have an equivalent REST API call.

file-list-directory-iter

GET /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

accessed-timestamp

accessed_time

acl-type

No REST Equivalent

bytes-used

bytes_used

changed-timestamp

changed_time

creation-timestamp

creation_time

dsid

No REST Equivalent

file-size

size

file-type

type

group-id

group_id

hard-links-count

hard_links_count

inode-gen-number

inode_generation

inode-number

inode_number

is-empty

is_empty

is-junction

is_junction

is-snapshot

is_snapshot

is-vm-aligned

is_vm_aligned

modified-timestamp

modified_time

msid

No REST Equivalent

name

name

owner-id

owner_id

perm

No REST Equivalent

max-records

max_records

The maximum number of records to return before paging

path

path

file-move-destroy

This ONTAPI call does not have an equivalent REST API call.

file-move-get-iter

This ONTAPI call does not have an equivalent REST API call.

file-move-start

This ONTAPI call does not have an equivalent REST API call.

file-punch-hole-iter

This ONTAPI call does not have an equivalent REST API call.

file-read-file

GET /api/storage/volumes/{volume.uuid}/files/{path}

Note: MUST include the header "accept" set to multipart/form-data

ONTAPI attribute REST attribute Comment

length

No REST Equivalent

offset

byte_offset

path

path

stream-name

stream_name

GET /api/storage/volumes/{volume.uuid}/files/{path}?return_metadata=true

ONTAPI attribute REST attribute Comment

path

path

file-rename-file

PATCH /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

from-path

path

This is the path in path parameter.

to-path

path

This is the path in request body parameter.

file-set-space-reservation-info

PATCH /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

is-fill-enabled

fill_enabled

is-overwrite-enabled

overwrite_enabled

path

path

volume-id

volume.uuid

file-truncate-file

This ONTAPI call does not have an equivalent REST API call.

file-usage-get

GET /api/storage/volumes/{volume.uuid}/files/{path}

ONTAPI attribute REST attribute Comment

length

No REST Equivalent

path

path

start-offset

byte_offset

file-usage-result-get

Note: REST endpoint doesn't exist for this ONTAPI

This ONTAPI call does not have an equivalent REST API call.

file-usage-start

Note: REST endpoint doesn't exist for this ONTAPI

This ONTAPI call does not have an equivalent REST API call.

file-write-file

PATCH /api/storage/volumes/{volume.uuid}/files/{path}

Note: MUST include the header with content-type set to multipart/form-data

ONTAPI attribute REST attribute Comment

data

data

offset

byte_offset

overwrite

overwrite

path

path

stream-name

stream_name