System::mode, Wildcards, Pagination – HP StoreAll Storage User Manual

Page 184

Advertising
background image

system::mode

The following system::mode bits are defined (in octal):

0140000 socket
0120000 symbolic link
0100000 regular file
0060000 block device
0040000 directory
0020000 character device
0010000 FIFO
0004000 set UID bit
0002000 set-group-ID bit
0001000 sticky bit
0000400 owner has read permission
0000200 owner has write permission
0000100 owner has execute permission
0000040 group has read permission
0000020 group has write permission
0000010 group has execute permission
0000004 others have read permission
0000002 others have write permission
0000001 others have execute permission

Wildcards

The StoreAll REST API provides three wildcards:

Description

Wildcard

A single attribute name of * returns all system and custom
metadata attributes for the files and directories matching
the query.

*

A single attribute name of system::* returns all system
metadata attributes for the files and directories matching
the query. It does not include any custom metadata entries.

system::*

A single attribute name of custom::* returns all custom
(user-defined) metadata attributes for the files and

custom::*

directories matching the query. It does not include any
system metadata entries.

For wildcards that return system metadata attributes, the results will not include attributes that
describe deleted files (system::deleteTime, system::lastActivityTime, and
system::lastActivityReason

).

Pagination

The StoreAll REST API provides a way for users to specify a portion of the total list of records (files
and directories) to return in the JSON query results.

Description

Parameter

The skip parameter defines the number of records to skip
before returning any results. The value is zero-based. For

skip

example, skip=100 skips the first 100 records of the
results and the 101st record and later are returned. If the
total result set is less than 101, no results are returned.

The top parameter defines the maximum number of total
records to return. For example, top=2000 returns at most
2000 rows.

top

184 Express Query

Advertising