Retrieve the Base64-encoded user-defined metadata value for the current file by using the specified key.
Parameters
Name
Description
Required
ref
The file ID or the absolute path to the file system object. File IDs can be found in the id field of responses of APIs that return file attributes. You must URL-encode the paths. The APIs & Tools page in the Qumulo Core Web UI URL-encodes the paths.
Yes
type
The user-defined metadata type on which to operate.
Yes
key
The user-defined metadata key on which to operate.
Yes
snapshot
The snapshot ID that specifies the version of the filesystem to use. If not specified, use the head version.
No
Response
Codes
Code
Description
200
Return value on success
Schema
POST
Add a user-defined metadata value to the current file by using the specified key and user-defined metadata type.
Parameters
Name
Description
Required
ref
The file ID or the absolute path to the file system object. File IDs can be found in the id field of responses of APIs that return file attributes. You must URL-encode the paths. The APIs & Tools page in the Qumulo Core Web UI URL-encodes the paths.
Yes
type
The user-defined metadata type on which to operate.
Yes
key
The user-defined metadata key on which to operate.
Yes
If-Match
ETag for expected version
No
Request
Schema
Response
Codes
Code
Description
200
Return value on success
PUT
Add or update the user-defined metadata value for the current file by using the specified key.
Parameters
Name
Description
Required
ref
The file ID or the absolute path to the file system object. File IDs can be found in the id field of responses of APIs that return file attributes. You must URL-encode the paths. The APIs & Tools page in the Qumulo Core Web UI URL-encodes the paths.
Yes
type
The user-defined metadata type on which to operate.
Yes
key
The user-defined metadata key on which to operate.
Yes
If-Match
ETag for expected version
No
Request
Schema
Response
Codes
Code
Description
200
Return value on success
DELETE
Delete the user-defined metadata entry for the current file by using the specified key.
Parameters
Name
Description
Required
ref
The file ID or the absolute path to the file system object. File IDs can be found in the id field of responses of APIs that return file attributes. You must URL-encode the paths. The APIs & Tools page in the Qumulo Core Web UI URL-encodes the paths.
Yes
type
The user-defined metadata type on which to operate.
Yes
key
The user-defined metadata key on which to operate.