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]:
                  | string
                  | number
                  | boolean
                  | (
                      | string
                      | number
                      | null
                      | undefined)[]
                  | null
                  | undefined;
          };
      }
    • OptionalsdkOptions: SDKOptions

    Returns Promise<JSONFetchResponse<FileListDocument | DirectoryListingError>>