Stacey Gammon
ede34a84a2
Clean up some of the API doc code ( #111635 ) ( #112085 )
...
* Clean up api doc infra
* updated docs
* Update api dics
# Conflicts:
# api_docs/actions.mdx
# api_docs/alerting.json
# api_docs/core.mdx
# api_docs/core_application.mdx
# api_docs/core_chrome.mdx
# api_docs/core_http.mdx
# api_docs/core_saved_objects.mdx
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/discover_enhanced.json
# api_docs/expressions.mdx
# api_docs/interactive_setup.json
# api_docs/interactive_setup.mdx
# api_docs/kibana_legacy.json
# api_docs/kibana_legacy.mdx
# api_docs/observability.json
# api_docs/rule_registry.json
# api_docs/saved_objects.json
# api_docs/security_solution.json
# api_docs/security_solution.mdx
# api_docs/timelines.json
# api_docs/timelines.mdx
# api_docs/url_forwarding.json
2021-09-14 10:44:20 -04:00
Stacey Gammon
53fa5ff3fd
API Doc Fixes ( #109685 ) ( #110466 )
...
* Fixes
- Fix bad formatting of deprecated apis by plugin
- Collect deprecated apis recursively
- Include unreferenced apis in Deprecated apis by API page.
* Fix unreferenced dep list
* check in updated docs
* Fix the issue with saved objects management plugin docs not being included
* adding the new docs after fixing some docs missing
* update api docs
# Conflicts:
# api_docs/apm.json
# api_docs/charts.mdx
# api_docs/core.mdx
# api_docs/core_application.mdx
# api_docs/core_chrome.json
# api_docs/core_chrome.mdx
# api_docs/core_http.mdx
# api_docs/core_saved_objects.mdx
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.json
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/expression_shape.json
# api_docs/expression_shape.mdx
# api_docs/expressions.json
# api_docs/field_formats.json
# api_docs/fleet.json
# api_docs/kibana_react.json
# api_docs/kibana_react.mdx
# api_docs/lists.json
# api_docs/observability.json
# api_docs/reporting.json
# api_docs/rule_registry.json
# api_docs/rule_registry.mdx
# api_docs/security_solution.json
# api_docs/security_solution.mdx
# api_docs/timelines.json
# api_docs/timelines.mdx
# api_docs/visualizations.mdx
2021-08-30 11:02:04 -04:00
Stacey Gammon
7111bcf5f4
Fix the API docs bug, where optional functions on interfaces were losing their children. ( #107236 ) ( #107905 )
...
* Fix the bug and update tests
* update api docs
* Fix tests
# Conflicts:
# api_docs/charts.mdx
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_field_formats.mdx
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.json
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/es_ui_shared.mdx
# api_docs/fleet.mdx
# api_docs/reporting.json
# api_docs/rule_registry.mdx
# api_docs/security_solution.json
# api_docs/security_solution.mdx
# api_docs/timelines.json
# api_docs/timelines.mdx
# api_docs/visualizations.mdx
2021-08-09 12:51:00 -04:00
Stacey Gammon
0b9be5df45
Remove line numbers from the json files ( #107158 ) ( #107758 )
...
* Stop tracking line numbers
* Updated api docs
* Fix type error and update tests
* wrap label in encodeURIComponent for the links
* Update docs after encodeUriComponent change
# Conflicts:
# api_docs/apm.json
# api_docs/canvas.json
# api_docs/core.json
# api_docs/core_saved_objects.json
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_field_formats.json
# api_docs/data_field_formats.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.json
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/home.json
# api_docs/lens.json
# api_docs/monitoring.json
# api_docs/presentation_util.json
# api_docs/security.json
# api_docs/security_solution.json
# api_docs/timelines.json
2021-08-05 12:26:16 -04:00
Stacey Gammon
2fcf3e49ea
Improve deprecated API list, and update api docs ( #106942 ) ( #107441 )
...
* Code to adjust deprecated api list
* updated docs
* fix and update tests
# Conflicts:
# api_docs/core.json
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_field_formats.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations.mdx
# api_docs/kibana_react.mdx
# api_docs/security_solution.json
# api_docs/security_solution.mdx
2021-08-02 16:44:47 -04:00
Stacey Gammon
3805c55d6e
Update api docs ( #103310 ) ( #103904 )
...
* Update api docs
* update api docs after merge from master
# Conflicts:
# api_docs/core.json
# api_docs/data.json
# api_docs/data_index_patterns.json
# api_docs/licensing.json
# api_docs/saved_objects.json
2021-06-30 13:04:59 -04:00
Stacey Gammon
8ee9c3abc4
Fix a bunch of bugs with APIDocs system ( #99589 ) ( #100417 )
...
* Remove custom code, add in a hack
* remove artifical limit
* Fix arrow functions in interfaces not having children
* Update docs
* Update api docs after merge from master
* update api docs after merge from master
* update api docs
# Conflicts:
# api_docs/core.json
# api_docs/data.json
# api_docs/data_index_patterns.json
# api_docs/deprecations.mdx
# api_docs/features.json
# api_docs/licensing.json
# api_docs/reporting.json
# api_docs/spaces.json
2021-05-20 16:11:31 -04:00
Stacey Gammon
88f9c4ae02
Add support for building a deprecation list with usage ( #99154 ) ( #99538 )
...
* Add support for building a deprecation list with usage
* Update API docs
2021-05-06 17:59:11 -04:00
Alejandro Fernández Haro
47c3e20546
[Usage Collection] Report the number of SOs per type ( #99344 ) ( #99509 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# api_docs/core.json
# api_docs/dashboard.json
# api_docs/data.json
# api_docs/data_search.json
# api_docs/fleet.json
# api_docs/infra.json
# api_docs/ml.json
# api_docs/observability.json
# api_docs/presentation_util.json
# api_docs/reporting.json
# api_docs/visualizations.json
2021-05-06 15:08:20 -04:00
Stacey Gammon
0a2799d09d
Track API stats as part of ci ( #95733 ) ( #97306 )
...
* Track stats and add extra output information
* Update api docs output
* Clean up id names
* update api docs
* Consolidate error messages and fix a bug
* Update docs
* Update get_declaration_nodes_for_plugin.ts
* Fix bug with removeBrokenLinks not being recursive
* Update docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# api_docs/data.json
# api_docs/data_index_patterns.json
# api_docs/data_search.json
# api_docs/reporting.json
2021-04-15 16:47:21 -04:00
Mike Côté
52f41d8750
Create new alerting HTTP APIs that use the new terminology ( #93977 ) ( #95781 )
...
* Move current alert HTTP APIs to legacy folder (#93943 )
* Move current HTTP APIs to legacy folder
* Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH
* Fix failing tests and extra files
* Create new rule HTTP APIs (#93980 )
* Move current HTTP APIs to legacy folder
* Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH
* Fix failing tests and extra files
* Move current alert HTTP APIs to legacy folder (#93943 )
* Move current HTTP APIs to legacy folder
* Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH
* Fix failing tests and extra files
* Add necessary files
* Create rule route
* Get rule API
* Update rule API
* Delete rule route
* Aggregate rules API
* Disable rule API
* Enable rule API
* Find rules API
* Fix Update API
* Get rule alert summary API
* Get rule state API
* Health API
* Rule types API
* Mute all API
* Mute alert API
* Unmute all API
* Unmute alert route
* Update API key API
* corrected tpye by making it much more complicated
* removed unneeded cocde
* Fixes
* Add back health route
* mutedInstanceIds -> mutedAlertIds
* lastRun -> last_run
* alert_type_state -> rule_type_state & alert_instances -> alerts
Co-authored-by: Gidi Meir Morris <github@gidi.io>
* Create docs for new rule HTTP APIs, deprecate old docs (#94745 )
* Create docs for new APIs, deprecate old docs
* Remove connector_type_id
* Update docs
* Add link to legacy APIs from rules API docs
* Remove connector_type_id references
* [DOCS] Add legacy APIs to index.asciidoc
* Fix camel case
Co-authored-by: lcawl <lcawley@elastic.co>
* Make alerting tests use new rules APIs (#95159 )
* Make API integration tests use new HTTP APIs
* Fix end to end tests
* Fix test failures
* Fix more test failures
* Rename some files
* Add tests for legacy APIs (#95333 )
* Initial commit (#95457 )
* Move some new alerting APIs to /internal (#95461 )
* Initial commit
* Update README.md
* Use internal API
* Merge deprecated warning w/ alternative solution
* Update API docs
Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
# Conflicts:
# api_docs/core.json
2021-03-30 10:41:41 -04:00
Pierre Gayvallet
b8ca02d88e
remove try
auth mode ( #94287 ) ( #94355 )
...
* remove `try` auth mode
* update generated doc
* update generated doc
* adapt integration test
2021-03-10 16:30:41 -05:00
Pierre Gayvallet
e293c14ded
Migrate /bootstrap.js
endpoint to core ( #92784 ) ( #94271 )
...
* move bootstrap endpoint to core
* some initial cleanup
* hack around the 'try' auth status
* some UT
* more UT
* add try/catch around uISettings access
* add 'auth.isEnabled'
* remove dead files
* use `try` authent mode
* adapt UT
* revert themeTag movearound
* migrate apps route to core
* some cleanup
* nit
* add integration tests
* update generated doc
* add UT for /app route
* add etag IT
* nits
* remove auth.isEnabled API
* add tests on get_apm_config
* use string template instead of handlebars for bootstrap template
* improve plugin bundle tests
* update generated doc
* remove response.etag API
* update generated doc
* update generated doc
* update generated doc again
* extract getThemeTag
* add more unit tests
2021-03-10 06:44:48 -05:00
Stacey Gammon
6b8ebbfa18
API docs clean up ( #93508 ) ( #93881 )
...
* Fix links to github
* Fix links to github
* Update docs to latest
* Sort, remove unneccessary path info, reduce tags
* Go back to having DocDef create the link to avoid backport conflicts
* update api docs
# Conflicts:
# api_docs/actions.json
# api_docs/advanced_settings.json
# api_docs/alerting.json
# api_docs/apm.json
# api_docs/apm_oss.json
# api_docs/banners.json
# api_docs/beats_management.json
# api_docs/bfetch.json
# api_docs/canvas.json
# api_docs/case.json
# api_docs/charts.json
# api_docs/cloud.json
# api_docs/console.json
# api_docs/core.json
# api_docs/core_application.json
# api_docs/core_chrome.json
# api_docs/core_http.json
# api_docs/core_saved_objects.json
# api_docs/dashboard.json
# api_docs/dashboard_enhanced.json
# api_docs/dashboard_mode.json
# api_docs/data.json
# api_docs/data_autocomplete.json
# api_docs/data_enhanced.json
# api_docs/data_field_formats.json
# api_docs/data_index_patterns.json
# api_docs/data_query.json
# api_docs/data_search.json
# api_docs/data_ui.json
# api_docs/dev_tools.json
# api_docs/discover.json
# api_docs/discover_enhanced.json
# api_docs/embeddable.json
# api_docs/embeddable_enhanced.json
# api_docs/encrypted_saved_objects.json
# api_docs/enterprise_search.json
# api_docs/es_ui_shared.json
# api_docs/event_log.json
# api_docs/expressions.json
# api_docs/features.json
# api_docs/file_upload.json
# api_docs/fleet.json
# api_docs/global_search.json
# api_docs/home.json
# api_docs/index_lifecycle_management.json
# api_docs/index_management.json
# api_docs/index_pattern_field_editor.json
# api_docs/index_pattern_management.json
# api_docs/infra.json
# api_docs/ingest_pipelines.json
# api_docs/inspector.json
# api_docs/kibana_legacy.json
# api_docs/kibana_react.json
# api_docs/kibana_utils.json
# api_docs/lens.json
# api_docs/license_management.json
# api_docs/licensing.json
# api_docs/lists.json
# api_docs/management.json
# api_docs/maps.json
# api_docs/maps_legacy.json
# api_docs/ml.json
# api_docs/monitoring.json
# api_docs/navigation.json
# api_docs/newsfeed.json
# api_docs/observability.json
# api_docs/osquery.json
# api_docs/presentation_util.json
# api_docs/remote_clusters.json
# api_docs/reporting.json
# api_docs/rollup.json
# api_docs/runtime_fields.json
# api_docs/saved_objects.json
# api_docs/saved_objects_management.json
# api_docs/saved_objects_tagging.json
# api_docs/saved_objects_tagging_oss.json
# api_docs/security.json
# api_docs/security_oss.json
# api_docs/security_solution.json
# api_docs/share.json
# api_docs/snapshot_restore.json
# api_docs/spaces.json
# api_docs/spaces_oss.json
# api_docs/stack_alerts.json
# api_docs/task_manager.json
# api_docs/telemetry.json
# api_docs/telemetry_collection_manager.json
# api_docs/telemetry_collection_xpack.json
# api_docs/telemetry_management_section.json
# api_docs/triggers_actions_ui.json
# api_docs/ui_actions.json
# api_docs/ui_actions_enhanced.json
# api_docs/uptime.json
# api_docs/url_forwarding.json
# api_docs/usage_collection.json
# api_docs/vis_type_timeseries.json
# api_docs/visualizations.json
2021-03-06 10:05:27 -05:00
Mikhail Shustov
d7ddd67d94
[Core] Simplify context typings ( #93579 ) ( #93646 )
...
* simplify context typings in core
* add tests for context types
* update docs
# Conflicts:
# api_docs/core.json
2021-03-04 14:36:05 -05:00
Stacey Gammon
2117e1324c
API DOCS Step 3/3 ( #92929 ) ( #93530 )
...
* update api_docs from gitignore
* api doc files
* Update api_welcome.mdx
* Pretty print json
* Add new lines and extra frontmatter to warn github viewers
* update api_docs with new lines and frontmatter
* Remove all apis tagged @internal and add tests
* Update docs with all internal APIs removed
* fix typescript error in test fixtures
* Update core.json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# api_docs/core.json
# api_docs/core_application.json
# api_docs/core_http.json
# api_docs/core_saved_objects.json
2021-03-03 20:12:24 -05:00
Mikhail Shustov
a15e4760f1
Attempt to reduce Core bundle size with type exports. ( #92221 ) ( #93457 )
...
* compile core files as isolated modules
* fix export problems for isolated modules
* apply changes to kbn-test as core imports from it
* fix some exports
* fix lint errors
* update new exports
* fix eslint error
* expand export * where it is possible
* update docs
* update docs
* fix eslint error
# Conflicts:
# api_docs/core.json
# api_docs/core_application.json
# api_docs/core_http.json
# api_docs/core_saved_objects.json
# src/core/public/index.ts
2021-03-03 14:01:11 -05:00