- ls(endpoint_xid, options?, sdkOptions?): Promise<JSONFetchResponse<FileListDocument | DirectoryListingError>>
Parameters
- endpoint_xid: string
Optional
options: {
query?: {
filter?: string;
limit?: number | `${number}`;
offset?: number | `${number}`;
orderby?: string;
path?: string;
show_hidden?: "true" | "false";
};
} & {
headers?: Headers;
query?: {
[key: string]:
| string
| number
| boolean
| (
| string
| number
| null
| undefined)[]
| null
| undefined;
};
}Optional
sdkOptions: SDKOptions
List the contents of the directory at the specified path on an endpoint’s filesystem. The endpoint must be activated before performing this operation.
See
https://docs.globus.org/api/transfer/file_operations/#list_directory_contents