Skip to content

Commit 11640f2

Browse files
Allow SnapshotState or SnapshotState[]
1 parent 9211455 commit 11640f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

specification/snapshot/get/SnapshotGetRequest.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,10 @@ export interface Request extends RequestBase {
151151
/**
152152
* Only return snapshots with a state found in the given comma-separated list of snapshot states.
153153
* The default is all snapshot states.
154-
* @server_default All snapshot states
155154
* @availability stack since=9.1.0
156155
* @availability serverless
157156
*/
158-
state?: SnapshotState
157+
state?: SnapshotState | SnapshotState[]
159158
/**
160159
* If `true`, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted.
161160
*

0 commit comments

Comments
 (0)