Fork a stream
Technical Preview
Forks a wired stream and creates a child stream
Path parameters
-
name
string Required
POST
/api/streams/{name}/_fork
curl \
--request POST http://localhost:5622/api/streams/{name}/_fork \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"if":{"field":"string","operator":"exists"},"stream":{"name":"string"}}'
Request examples
# Headers
kbn-xsrf: true
# Payload
{
"if": {
"field": "string",
"operator": "exists"
},
"stream": {
"name": "string"
}
}