Skip to content

Commit 6547bb8

Browse files
committed
[API] Added the filter_path parameter
Related: elastic/elasticsearch#10980, elastic/elasticsearch@ce63590
1 parent 30e6fc4 commit 6547bb8

File tree

1 file changed

+2
-1
lines changed
  • elasticsearch-api/lib/elasticsearch

1 file changed

+2
-1
lines changed

elasticsearch-api/lib/elasticsearch/api.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module API
2222
COMMON_QUERY_PARAMS = [
2323
:format, # Search, Cat, ...
2424
:pretty, # Pretty-print the response
25-
:human # Return numeric values in human readable format
25+
:human, # Return numeric values in human readable format
26+
:filter_path # Filter the JSON response
2627
]
2728

2829
HTTP_GET = 'GET'.freeze

0 commit comments

Comments
 (0)