ping¶
-
GET
/api/3.0/ping
¶ Show API connection details and latency.
Public API¶
If the Public API is enabled, unauthenticated users can make requests to the /ping endpoint. Both the public and authenticated responses are identical.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | {
"version": "3.0",
"account_id": 1,
"host_id": "your-company.checkfront.com",
"name": "Your Company",
"locale": {
"id": "en_US",
"lang": "en",
"currency": "CAD"
},
"request": {
"status": "OK",
"resource": "ping",
"records": 1,
"limit": 0,
"page": 1,
"pages": 1,
"time": 0.0009,
"method": "get"
},
"pong": {
"remote_addr": "0.0.0.0",
"time": 1507249065,
"timezone": "Canada/Pacific",
"provider": "API Console"
}
}
|