api.asciidoc 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [discrete]
  2. [[breaking_80_api_changes]]
  3. ==== REST API changes
  4. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  5. //Installation and Upgrade Guide
  6. //tag::notable-breaking-changes[]
  7. .The cat node API's `local` query parameter has been removed.
  8. [%collapsible]
  9. ====
  10. *Details* +
  11. The `?local` parameter to the `GET _cat/nodes` API was deprecated in 7.x and is
  12. rejected in 8.0. This parameter caused the API to use the local cluster state
  13. to determine the nodes returned by the API rather than the cluster state from
  14. the master, but this API requests information from each selected node
  15. regardless of the `?local` parameter which means this API does not run in a
  16. fully node-local fashion.
  17. *Impact* +
  18. Discontinue use of the `?local` query parameter. {ref}/cat-nodes.html[cat node
  19. API] requests that include this parameter will return an error.
  20. ====
  21. .The cat shard API's `local` query parameter has been removed.
  22. [%collapsible]
  23. ====
  24. *Details* +
  25. The `?local` parameter to the `GET _cat/shards` API was deprecated in 7.x and is
  26. rejected in 8.0. This parameter caused the API to use the local cluster state
  27. to determine the nodes returned by the API rather than the cluster state from
  28. the master, but this API requests information from each selected node
  29. regardless of the `?local` parameter which means this API does not run in a
  30. fully node-local fashion.
  31. *Impact* +
  32. Discontinue use of the `?local` query parameter. {ref}/cat-shards.html[cat shards
  33. API] requests that include this parameter will return an error.
  34. ====
  35. .The cat indices API's `local` query parameter has been removed.
  36. [%collapsible]
  37. ====
  38. *Details* +
  39. The `?local` parameter to the `GET _cat/indices` API was deprecated in 7.x and is
  40. rejected in 8.0. This parameter caused the API to use the local cluster state
  41. to determine the nodes returned by the API rather than the cluster state from
  42. the master, but this API requests information from each selected node
  43. regardless of the `?local` parameter which means this API does not run in a
  44. fully node-local fashion.
  45. *Impact* +
  46. Discontinue use of the `?local` query parameter. {ref}/cat-indices.html[cat indices
  47. API] requests that include this parameter will return an error.
  48. ====
  49. .The get field mapping API's `local` query parameter has been removed.
  50. [%collapsible]
  51. ====
  52. *Details* +
  53. The `local` parameter for get field mapping API was deprecated in 7.8 and is
  54. removed in 8.0. This parameter is a no-op and field mappings are always retrieved
  55. locally.
  56. *Impact* +
  57. Discontinue use of the `local` query parameter.
  58. {ref}/indices-get-field-mapping.html[get field mapping API] requests that
  59. include this parameter will return an error.
  60. ====
  61. .Post data to jobs API is deprecated.
  62. [%collapsible]
  63. ====
  64. *Details* +
  65. The {ml} {ref}/ml-post-data.html[post data to jobs API] is deprecated starting in 7.11.0
  66. and will be removed in a future major version.
  67. *Impact* +
  68. Use {ref}/ml-apis.html#ml-api-datafeed-endpoint[{dfeeds}] instead.
  69. ====
  70. // end::notable-breaking-changes[]