- ls(endpoint_xid, options?, sdkOptions?): Promise<Response>
Parameters
endpoint_xid: string
Optional
options: {
query?: {
filter?: string;
limit?: `${number}`;
offset?: `${number}`;
orderby?: string;
path?: string;
show_hidden?: "true" | "false";
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}
Optional
sdkOptions: SDKOptions
Returns Promise<Response>
List the contents of the directory at the specified path on an endpoint’s filesystem. The endpoint must be activated before performing this operation.