Links

Create a links library item

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/links</span></div>

Refer to Spaces for more information.

Creates a new links library item and returns its ID, full state, and metadata.

post/api/links

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/links
  • Auth
    • API key in header Authorization
    • or HTTP basic

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

descriptionstring
layout'horizontal' | 'vertical'

Whether to display the links in a horizontal or vertical layout.

tagsstring[]

Tag IDs associated with this library item.

titlestring required

Response

created

idstring required

The unique ID of the links library item, as returned by the create or search endpoints.

Changes

    • info

      the request property default value was added

    • info

      the response's property default value was added for the status