Stat the file or directory at the specified path on a collection.

  • Parameters

    • endpoint_xid: string
    • options: undefined | {
          query?: {
              local_user?: string;
              path: string;
          };
      } & {
          headers?: Headers;
          query?: {
              [key: string]:
                  | string
                  | number
                  | boolean
                  | (
                      | string
                      | number
                      | null
                      | undefined)[]
                  | null
                  | undefined;
          };
      }
    • OptionalsdkOptions: SDKOptions

    Returns Promise<JSONFetchResponse<FileDocument>>