api.asciidoc 2.9 KB

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