kibana/docs/api
Mike Côté 399067a491
Basic server side export API for saved objects (#30326)
* Initial work for new server side export API

* Revert UI changes, API only in this PR

* Remove whitespace at top of export.asciidoc

* Add tests around limitations

* Add comment

* Convert some files to typescript

* Move Boom.boomify to where the errors are created

* Use Boom.badRequest for now

* Fix lint issue

* Move files

* Update tests

* Add functional test

* Export all documents by default

* Update test assertions

* Use ~10000 saved objects in export api integration test

* Convert route to typescript, add content-type response header

* Move some tests to api_integration

* Use new sort and rename functions/variables

* Move tests to API integration

* Cleanup and finalize api integration tests

* Make type or objects required but not both in the same call

* Add spaces / security tests

* Add noTypeOrObjects to security / spaces tests

* Use json-stable-stringify and add tests for export ordering

* Address self feedback, add without kibana index test

* Only allow export API to export index-pattern, dashboard, visualization and search type objects

* Make import export size configurable and fix broken tests

* Fix broken tests

* Move test config to mock server

* Add more typescript types instead of using any

* Convert request from GET to POST

* Fix saved objects mixin test

* Update src/legacy/server/saved_objects/lib/export.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Apply PR feedback

* Fix lint error

* Update test snapshots due to jest upgrade

* Add error handling for bulkGet

* Split export API into two endpoints

* Update src/legacy/server/saved_objects/routes/export_by_type.test.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update docs/api/saved-objects/export_by_type.asciidoc

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update docs/api/saved-objects/export_by_type.asciidoc

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update src/legacy/server/saved_objects/routes/export_objects.test.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Apply PR feedback

* MockServer -> createMockServer

* Revert back to single API

* Re-apply PR feedback
2019-03-05 15:42:02 -05:00
..
dashboard-import [dashboard+gis] remove dark mode options (#29017) 2019-01-23 14:29:35 -08:00
logstash-configuration-management [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
role-management [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
saved-objects Basic server side export API for saved objects (#30326) 2019-03-05 15:42:02 -05:00
spaces-management [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
upgrade-assistant [docs] Add docs for Upgrade Assistant APIs (#30330) 2019-02-13 14:12:19 -06:00
url_shortening [dashboard+gis] remove dark mode options (#29017) 2019-01-23 14:29:35 -08:00
dashboard-import.asciidoc [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
logstash-configuration-management.asciidoc [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
role-management.asciidoc [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
saved-objects.asciidoc Basic server side export API for saved objects (#30326) 2019-03-05 15:42:02 -05:00
spaces-management.asciidoc [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
upgrade-assistant.asciidoc [docs] Add docs for Upgrade Assistant APIs (#30330) 2019-02-13 14:12:19 -06:00
url-shortening.asciidoc [DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00