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: Sources/InfluxDBSwiftApis/Generated/APIs/PingAPI.swift
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ public class PingAPI {
19
19
}
20
20
21
21
/**
22
-
Checks the status of InfluxDB instance and version of InfluxDB.
22
+
Get the status of the instance
23
23
24
24
- parameter apiResponseQueue: The queue on which api response is dispatched.
25
25
- parameter completion: completion handler to receive the data and the error objects
@@ -37,7 +37,7 @@ public class PingAPI {
37
37
38
38
#if swift(>=5.5)
39
39
/**
40
-
Checks the status of InfluxDB instance and version of InfluxDB.
40
+
Get the status of the instance
41
41
42
42
- parameter apiResponseQueue: The queue on which api response is dispatched.
43
43
- parameter completion: completion handler to receive the data and the error objects
@@ -58,8 +58,9 @@ public class PingAPI {
58
58
#endif
59
59
60
60
/**
61
-
Checks the status of InfluxDB instance and version of InfluxDB.
61
+
Get the status of the instance
62
62
- GET /ping
63
+
- Retrieves the status and InfluxDB version of the instance. Use this endpoint to monitor uptime for the InfluxDB instance. The response returns a HTTP `204` status code to inform you the instance is available. #### InfluxDB Cloud - Isn't versioned and doesn't return `X-Influxdb-Version` in the headers. #### Related guides - [Influx ping](https://docs.influxdata.com/influxdb/latest/reference/cli/influx/ping/)
Checks the status of InfluxDB instance and version of InfluxDB.
80
+
Get the status of the instance
80
81
81
82
- parameter apiResponseQueue: The queue on which api response is dispatched.
82
83
- parameter completion: completion handler to receive the data and the error objects
@@ -94,7 +95,7 @@ public class PingAPI {
94
95
95
96
#if swift(>=5.5)
96
97
/**
97
-
Checks the status of InfluxDB instance and version of InfluxDB.
98
+
Get the status of the instance
98
99
99
100
- parameter apiResponseQueue: The queue on which api response is dispatched.
100
101
- parameter completion: completion handler to receive the data and the error objects
@@ -115,8 +116,9 @@ public class PingAPI {
115
116
#endif
116
117
117
118
/**
118
-
Checks the status of InfluxDB instance and version of InfluxDB.
119
+
Get the status of the instance
119
120
- HEAD /ping
121
+
- Returns the status and InfluxDB version of the instance. Use this endpoint to monitor uptime for the InfluxDB instance. The response returns a HTTP `204` status code to inform you the instance is available. #### InfluxDB Cloud - Isn't versioned and doesn't return `X-Influxdb-Version` in the headers. #### Related guides - [Influx ping](https://docs.influxdata.com/influxdb/latest/reference/cli/influx/ping/)
0 commit comments