Commit graph

77 commits

Author SHA1 Message Date
Joe Portner fb1c7d7048
Fix saved object share UI bugs regarding read-only privileges (#81828) 2020-11-03 23:07:39 -05:00
Aleh Zasypkin 89e2af8334
Rename batchSize parameter to batch_size to be consisten with the API namings guidelines. (#82123) 2020-11-01 09:09:40 +01:00
Grzegorz Banasiak 42c7c0d4ab
Add namespaced version of the API call (#81278)
* Add namespaced version of the API call

Docs are missing the namespaced version of the API call for dashboard import/export.
2020-10-21 09:20:54 +02:00
Larry Gregory bf0f8bbb42
Cleanup feature registration (#80909) 2020-10-20 12:53:43 -04:00
Aleh Zasypkin d4530e15c6
[Docs] Document Encrypted Saved Objects functionality. (#80183) 2020-10-16 18:16:10 +02:00
Joe Portner 13b8aed11d
[Docs] Update developer docs for create/bulkCreate initialNamespaces (#79769)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-10-06 18:00:23 -04:00
Joe Portner 0a02ac1327
Rename namespaces to initialNamespaces for create operations (#79682) 2020-10-06 17:01:26 -04:00
Joe Portner caa5da26f0
Add support for sharing saved objects to all spaces (#76132) 2020-10-04 23:28:49 -04:00
Kaarina Tungseth 55dc6af27f
[DOCS] Updates create.asciidoc (#73481)
Co-authored-by: Sutra Hsing <sutrahsing@163.com>
2020-09-24 12:25:51 -05:00
Josh Dover 9b6edc5cd5
Allow legacy imports size respect savedObjects.maxImportPayloadBytes config (#77409) 2020-09-16 08:52:42 -06:00
Joe Portner 8671db1559
[Docs] Add server.xsrf.disableProtection to settings docs (#76022) 2020-08-27 10:44:59 -04:00
Joe Portner 6627d7d9af
Sharing saved-objects phase 1.5 (#75444)
Added UI for sharing saved objects, and updated UI for importing and copying too
2020-08-26 16:52:29 -04:00
Kaarina Tungseth 9506dc90ca
[DOCS] Adds ID to logstash pipeline (#71726) 2020-07-14 16:25:31 -05:00
Kaarina Tungseth 0c87aa506d
[DOCS] Adds API keys to API docs (#71738)
* [DOCS] Adds API keys to API docs

* Fixes link title

* Update docs/api/using-api.asciidoc

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
2020-07-14 16:18:32 -05:00
Kaarina Tungseth 0b675b8908
[DOCS] Fixes to API docs (#71678)
* [DOCS] Fixes to API docs

* Fixes rogue -u
2020-07-14 14:59:21 -05:00
Josh Dover 8db71dee09
[DOCS] Clarify 'fields' option in SO.find docs (#71491) 2020-07-14 12:43:08 -06:00
Eric Davis 7b74094e0f
Update docs for api authentication usage (#66819)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2020-07-02 07:55:52 -04:00
Kaarina Tungseth fef7ff859d
[DOCS] Fixes POST request for saved objects (#69036) 2020-06-12 11:29:14 -05:00
Ryder Timberlake 7071fac36a
Fix typos (#66984)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 13:44:41 -06:00
Joe Reuter b7e87c2c8b
Switch to core application service (#63443) 2020-05-13 09:19:24 +02:00
Radu Gheorghe cf7da3cdb7
Add headers to the sample curl (#63548)
* Add headers to the sample curl

At least in 7.x it doesn't work without the kbn-xsrf and json headers.

* More headers to curl commands

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-17 10:01:30 -05:00
Joe Portner 97d1685c3d
Sharing saved-objects phase 1 (#54605)
Co-authored-by: kobelb <brandon.kobel@elastic.co>
2020-04-09 23:18:18 -04:00
Lisa Cawley 42d7bb0c81
[DOCS] Fixes nesting in APM and spaces API (#62659) 2020-04-06 11:11:56 -07:00
Kaarina Tungseth 23755f95fa
[DOCS] Collapses content in Kibana and APM APIs (#62201)
* Collapses content in Kibana and APM APIs

* Update docs/api/role-management/put.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/copy_saved_objects.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/copy_saved_objects.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/copy_saved_objects.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/copy_saved_objects.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/copy_saved_objects.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/copy_saved_objects.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/spaces-management/resolve_copy_saved_objects_conflicts.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2020-04-06 11:15:52 -05:00
Kaarina Tungseth fda3196611
[DOCS] Updates API requests and examples (#60695)
* [DOCS] Updates API requests and examples

* Review comments
2020-03-20 16:33:20 -05:00
Jean-Louis Leysens 2c25520051
[Upgrade Assistant] First iteration of batch reindex docs (#59887)
* First iteration of batch reindex docs

Tested with docs generator repo

* Add top level bullet points and remove cruft

* Address PR feedback

Also move the experimental marker to similar position (before
description) on existing endpoint docs for UA.
2020-03-20 11:44:35 +01:00
Kaarina Tungseth 6fe508448b
[DOCS] Fixed typo in dashboard import API (#57862) 2020-02-18 10:31:51 -06:00
Chris Koehnke 12fcf015cb
[docs] Fix spaces api example json (#50411)
Make this example properly formatted json.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-07 07:19:32 -08:00
Brandon Morelli 3db8cb34b0
[docs] Remove unused callout (#56032) 2020-01-27 21:03:06 -08:00
Kaarina Tungseth 6cef462c8b
[DOCS] Updates for API usage (#51989)
* [DOCS] Updates for API usage

* Changes from Larry

* Update docs/api/using-api.asciidoc

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>

* Comments from Larry

* Comment from Larry
2019-12-16 11:03:38 -06:00
Lisa Cawley a234e8b836
[DOCS] Fixes broken links (#51634) 2019-11-26 12:36:35 -08:00
Melori Arellano 8d34f25134
[DOCS] Add space_id path parameter to saved_object APIs (#47627)
* [DOCS] Add space_id path parameter to saved_object APIs

* [DOCS] Apply suggested edits for #47627

* [DOCS] Apply suggested edits for #47627 to delete API
2019-10-18 11:17:54 -06:00
Kaarina Tungseth 1e3f14395c
[DOCS] API intro (#47164)
* [DOCS] API intro

* Logstash configuration management

* Reformatting

* Comments from Josh

* Commets from Gail

* Fixed broken things
2019-10-16 15:10:40 -05:00
Pierre Gayvallet 7df981fbf8 Ignore missing references on saved object exports (#47685)
* add saved object export details in ndjson response

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update core doc

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* exclude export details for space copy

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* fixing tests

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* display warning instead of success if export contains missing refs

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* nits/typo

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* properly updates api integration tests

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* fix typings

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add test on objects_table component

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove added translations from jp/cn bundles

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* restoring line feeds

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* improve doc and user alert message

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* restoring line feeds on server.api.md

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* warning test label

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>
2019-10-16 12:48:34 +02:00
Nik Everett fd94e17fb5
Docs: Fix for asciidoctor (#47876)
Asciidoctor is a bit more picky about somethings. This fixes them for
it.
2019-10-10 17:18:38 -04:00
Xavier Mouligneau d95c47f776
Add KQL functionality in the find function of the saved objects (#41136)
* Add KQL functionality in the find function of the saved objects

wip

rename variable from KQL to filter, fix unit test + add new ones

miss security pluggins

review I

fix api changes

refactor after reviewing with Rudolf

fix type

review III

review IV

for security put back allowed logic back to return empty results

remove StaticIndexPattern

review V

fix core_api_changes

fix type

* validate filter to match requirement type.attributes.key or type.savedObjectKey

* Fix types

* fix a bug + add more api integration test

* fix types in test until we create package @kbn/types

* fix type issue

* fix api integration test

* export nodeTypes from packages @kbn/es-query instead of the function buildNodeKuery

* throw 400- bad request when validation error in find

* fix type issue

* accept api change

* renove _ to represent private

* fix unit test + add doc

* add comment to explain why we removed the private
2019-10-02 18:23:44 -04:00
Kaarina Tungseth adfebc51bb
[DOCS] Updated API experimental notes (#46008) 2019-09-18 10:54:28 -05:00
friol 30a1730bf2 Custom space avatar images (#45148)
* First changes for avatar images

* Added the ability to have custom images for space avatars

* Partial changes as requested by reviewers

* Final commit for space avatar images PR

* Wrapping avatar file name

* Colour picker always enabled, to allow background change for transparent svgs

* All the changes requested in the last review

* Fixes the type_check test errors

* Fixing the rendering errors for space pages

* Another batch of changes as requested by review

* Some more snapshot tests

* Last batch of changes

* Fixed the type_check test

* API doc updates

* Removed comment

* Removed imageUrl from state


Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-09-18 11:06:57 -04:00
Aleh Zasypkin 9d69b72a5f
Move base feature controls functionality from XPack Main plugin to a dedicated XPack Features plugin (#44664) 2019-09-09 19:15:58 +02:00
Kaarina Tungseth 925dfab588
[DOCS] New template for APIs (#39298)
* Clean up

* Dashboard export API

* More changes

* role-management and saved-objects

* Clean up

* Final clean up

* Clean up

* Moved labels to appropriate places

* Fixed rogue commits
2019-09-06 11:09:57 -05:00
Brandon Kobel 769bb657fa
Moving Saved Object APIs from Experimental to Beta (#44140)
* Saved Object APIs, now beta!

* Using Gail's word-choice, thanks Gail!!!
2019-08-28 06:58:12 -07:00
Larry Gregory 608e2391d0
Copy Saved Objects to Spaces API (#38014) 2019-08-21 17:27:55 -04:00
Lisa Cawley 58a319dab0
[DOCS] Fixes experimental annotations (#40376) 2019-07-15 10:16:38 -07:00
Lisa Cawley 0a78b428b9
[DOCS] Fixes typo (#40668) 2019-07-10 15:16:30 -07:00
Holger Brandl d4551058e7 Removed invalid/unneeded comma in json query (#31797)
(cherry picked from commit 276dcc7f72)

# Conflicts:
#	docs/api/url_shortening/shorten_url.asciidoc
(cherry picked from commit 0a316000e3)
2019-06-27 16:51:13 -07:00
Mike Côté a537aaed6b
Update import saved objects API docs to use curl examples (#37997)
* Remove copy as curl

* Update import docs to use curl examples
2019-06-05 07:49:47 -04:00
Mike Côté 9772ab5cd8
Fix export saved objects API docs (#37991) 2019-06-05 07:47:21 -04:00
Ahmad Bamieh b0fbb95ca9
[Docs] Remove conflict code (#37672) 2019-05-31 20:28:05 +03:00
Larry Gregory be765767ee
Feature Controls - Documentation (#35656)
* update spaces images

* add Spaces FC section

* Updates for kibana authorization section

* update plugin development guide

* start adding docs

* remove unused description field from Feature Registry interface

* Update role management API documentation

* Apply suggestions from code review

Thanks, Gail!

Co-Authored-By: legrego <lgregorydev@gmail.com>

* Update docs/api/role-management/put.asciidoc

* update kibana privileges section intro

* relocate link to Role Management API

* update PUT role docs to align with ES

* indicate that base and feature privileges cannot be used at the same time

* restructure kibana privileges section

* add UI and API examples to Kibana Privileges section

* Apply suggestions from code review

Co-Authored-By: legrego <lgregorydev@gmail.com>

* address PR feedback

* Apply suggestions from code review

Co-Authored-By: legrego <lgregorydev@gmail.com>

* Apply suggestions from code review

Co-Authored-By: legrego <lgregorydev@gmail.com>

* address pr feedback

* Update docs/api/role-management/put.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/security/index.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* address PR feedback

* fix merge from master

* Update docs/spaces/managing-spaces.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-05-22 14:01:15 -04:00
István Zoltán Szabó 2a56fb9764
[DOCS] Completed warning text. (#36672) 2019-05-22 10:28:24 +02:00