Skip to content

Commit c93570c

Browse files
authored
[DOCS] Fix data type for create snapshot API's metadata param (#76465) (#76468)
1 parent c72b7b1 commit c93570c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/snapshot-restore/apis/create-snapshot-api.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The cluster state includes:
126126
IMPORTANT: By default, the entire snapshot will fail if one or more indices included in the snapshot do not have all primary shards available. You can change this behavior by setting <<create-snapshot-api-partial,`partial`>> to `true`.
127127

128128
`metadata`::
129-
(Optional, string)
129+
(Optional, object)
130130
Attaches arbitrary metadata to the snapshot, such as a record of who took the snapshot, why it was taken, or any other useful data. Metadata must be less than 1024 bytes.
131131

132132
[[create-snapshot-api-partial]]

0 commit comments

Comments
 (0)