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

Spaces method and path for this operation:

post /s/{space_id}/api/streams/{name}/content/import

Refer to Spaces for more information.

Links content objects to a stream.

[Required authorization] Route required privileges: manage_stream.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • name string Required
multipart/form-data

Body

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