streams
Import content into a stream
Changed onSpaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/streams/{name}/content/import</span></div>Refer to Spaces for more information.
Imports stream structure (routing, mappings, and processing) from a content pack into a stream.<br/><br/>[Required authorization] Route required privileges: manage_stream.
post/api/streams/{name}/content/import
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/streams/{name}/content/import
- Auth
- API key in header Authorization
- or HTTP basic
Path parameters
namestring required
The name of the stream to import content into.
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body multipart/form-data
Response
Content was imported into the stream successfully.
Changes
- warning
for the
pathrequest parametername, the maxLength was set to200 - warning
the
request property's maxLength was set to5242880
- warning