get-snapshottable-features-api.asciidoc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [[get-snapshottable-features-api]]
  2. === Get Snapshottable Features API
  3. ++++
  4. <titleabbrev>Get snapshottable features</titleabbrev>
  5. ++++
  6. Gets a list of features which can be included in snapshots using the
  7. <<create-snapshot-api-feature-states,`feature_states` field>> when creating a
  8. snapshot.
  9. [source,console]
  10. -----------------------------------
  11. GET /_snapshottable_features
  12. -----------------------------------
  13. [[get-snapshottable-features-api-request]]
  14. ==== {api-request-title}
  15. `GET /_snapshottable_features`
  16. [[get-snapshottable-features-api-desc]]
  17. ==== {api-description-title}
  18. You can use the get snapshottable features API to determine which feature states
  19. to include when <<snapshots-take-snapshot,taking a snapshot>>. By default, all
  20. feature states are included in a snapshot if that snapshot includes the global
  21. state, or none if it does not.
  22. A feature state includes one or more system indices necessary for a given
  23. feature to function. In order to ensure data integrity, all system indices that
  24. comprise a feature state are snapshotted and restored together.
  25. The features listed by this API are a combination of built-in features and
  26. features defined by plugins. In order for a feature's state to be listed in this
  27. API and recognized as a valid feature state by the create snapshot API, the
  28. plugin which defines that feature must be installed on the master node.
  29. ==== {api-examples-title}
  30. [source,console-result]
  31. ----
  32. {
  33. "features": [
  34. {
  35. "name": "tasks",
  36. "description": "Manages task results"
  37. },
  38. {
  39. "name": "kibana",
  40. "description": "Manages Kibana configuration and reports"
  41. }
  42. ]
  43. }
  44. ----
  45. // TESTRESPONSE[skip:response differs between default distro and OSS]