Files
elasticsearch-js/docs/reference/api/Snapshot.md
2025-05-27 15:30:21 -05:00

28 KiB

Snapshot

Constructor

::: new Snapshot(transport: Transport); :::

Properties

Name Type Description
acceptedParams Record<string, { path: string[]; body: string[]; query: string[]; }>  
transport Transport  

Methods

Name Signature Description
cleanupRepository cleanupRepository(this: [That](./That.md), params: [SnapshotCleanupRepositoryRequest](./SnapshotCleanupRepositoryRequest.md), options?: [TransportRequestOptionsWithOutMeta](./TransportRequestOptionsWithOutMeta.md)): Promise<[SnapshotCleanupRepositoryResponse](./SnapshotCleanupRepositoryResponse.md)>; Clean up the snapshot repository. Trigger the review of the contents of a snapshot repository and delete any stale data not referenced by existing snapshots.