FilesByPath: Nextcloud Nextcloud Files by Path
read only REST
- Catalog:
Nextcloud - Schema:
Nextcloud - Primary Keys:
path - Label: Nextcloud Files by Path
Can only retrieve data.
Summary
One folder listed one level deep, by its path, one row per entry including the folder itself. A whole tree is never walked unbounded.
API Source
- Endpoint:
/remote.php/dav/files/ncadmin/{path}
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 305 |
| Full scan rows per minute | 3,450 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
path |
varchar2 |
Folder to list, relative to the connected account's own root. Pass '/' to list the root - an empty argument is dropped before it reaches the URL and answers the literal, unsubstituted route instead of the root. |
Table Columns
The columns of the table FilesByPath are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
content_ |
varchar2 |
itgen_ncl_content_type | filters on the platform, writable, d:getcontenttype |
MIME type; empty for a folder. | |
etag |
varchar2 |
itgen_ncl_etag | filters on the platform, writable, d:getetag |
Entity tag: the version Nextcloud gives this file, changing whenever its content changes. | |
file_ |
int64 |
itgen_ncl_file_id | filters on the platform, writable, oc:fileid |
Identifier stable across a rename or move. | |
has_ |
char |
itgen_ncl_has_preview | filters on the platform, writable, nc:has- |
Whether the server can generate a thumbnail for the entry. | |
is_ |
char |
itgen_ncl_is_folder | filters on the platform, writable, d:resourcetype/ |
Whether the entry is a folder rather than a file. | |
last_ |
datetime |
itgen_ncl_last_modified | filters on the platform, writable, d:getlastmodified |
Moment last modified. | |
owner_ |
varchar2 |
itgen_ncl_owner_id | filters on the platform, writable, oc:owner- |
Login name of the entry's owner. | |
path |
varchar2 |
itgen_ncl_path | filters on the platform, writable, d:href |
Path relative to the connected account's own root. | |
permissions |
varchar2 |
itgen_ncl_permissions | filters on the platform, writable, oc:permissions |
Permission letters the connected account has on the entry. | |
size_ |
int64 |
itgen_ncl_size_bytes | filters on the platform, writable, d:getcontentlength |
Size in bytes; empty for a folder. |