Import content into a stream

POST /api/streams/{name}/content/import

Links content objects to a stream.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

multipart/form-data

Body

POST /api/streams/{name}/content/import
curl \
 --request POST 'http://localhost:5622/api/streams/{name}/content/import' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --header "kbn-xsrf: true" \
 --form "include=string"