You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ If you're seeing some unexpected behavior with this project, please create an [i
11
11
1. Version of this project you're using (ex: 1.5.0)
12
12
2. Platform version (ex: Windows Server 2012 R2)
13
13
3. Framework version (ex: Python 3.7)
14
-
4. Splunk Enterprise version (ex: 8.0)
14
+
4. Splunk Enterprise version (ex: 9.0)
15
15
5. Other relevant information (ex: local/remote environment, Splunk network configuration, standalone or distributed deployment, are load balancers used)
16
16
17
17
Alternatively, if you have a Splunk question please ask on [Splunk Answers](https://community.splunk.com/t5/Splunk-Development/ct-p/developer-tools).
# ^-- This was "%s%s" % (self.path, path_segment).
805
828
# That doesn't work, because self.path may be UrlEncoded.
829
+
830
+
# Get the API version from the path
831
+
api_version=self.get_api_version(path)
832
+
833
+
# Search API v2+ fallback to v1:
834
+
# - In v2+, /results_preview, /events and /results do not support search params.
835
+
# - Fallback from v2+ to v1 if Splunk Version is < 9.
836
+
# if api_version >= 2 and ('search' in query and path.endswith(tuple(["results_preview", "events", "results"])) or self.service.splunk_version < (9,)):
# - In v2+, /results_preview, /events and /results do not support search params.
910
+
# - Fallback from v2+ to v1 if Splunk Version is < 9.
911
+
# if api_version >= 2 and ('search' in query and path.endswith(tuple(["results_preview", "events", "results"])) or self.service.splunk_version < (9,)):
0 commit comments