List the contents of the directory at the specified path on an endpoint’s filesystem. The endpoint must be activated before performing this operation.

  • Parameters

    • endpoint_xid: string
    • Optionaloptions: {
          query?: {
              filter?: string;
              limit?: number | `${number}`;
              offset?: number | `${number}`;
              orderby?: string;
              path?: string;
              show_hidden?: "true" | "false";
          };
      } & {
          headers?: Headers;
          query?: {
              [key: string]: | undefined
              | null
              | string
              | number
              | boolean
              | (undefined | null | string | number)[];
          };
      }
    • OptionalsdkOptions: SDKOptions

    Returns Promise<JSONFetchResponse<FileListDocument | DirectoryListingError>>