forked from seatable/openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathping_and_info.yaml
124 lines (116 loc) · 3.33 KB
/
ping_and_info.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
openapi: 3.0.0
info:
title: Ping and Server Info
description: >-
The official SeaTable API Reference (OpenAPI 3.0) - Part "Ping and Server Info".
version: "4.3"
servers:
- url: "https://{server}"
variables:
server:
default: cloud.seatable.io
x-readme:
explorer-enabled: true
metrics-enabled: false
proxy-enabled: false
components:
securitySchemes:
AccountTokenAuth:
type: http
scheme: bearer
description: This is the [Account-Token](/reference/authentication).
schemas:
ping_response:
type: string
description: if successful, this api returns just the string `pong`
example: pong
server_info:
type: object
description: get server info like the version and the edition
properties:
version:
type: string
description: current version number of SeaTable Server
edition:
type: string
description: current edition of SeaTable Server
example:
version: 3.4.8
edition: enterprise edition
paths:
/server-info/:
get:
tags:
- Info
summary: Get SeaTable Server Info
description: >-
Use this anonymous call to retrieve the current SeaTable server version
information. The response includes the current version number and the
type of subscription.
responses:
"200":
description: Return version and edition of SeaTable Server
content:
application/json:
schema:
$ref: "#/components/schemas/server_info"
/api2/ping/:
get:
tags:
- Ping
summary: Ping Server
description: Check the server status.
responses:
"200":
description: Service is available and running
content:
application/json:
schema:
$ref: "#/components/schemas/ping_response"
/api2/auth/ping/:
get:
tags:
- Ping
summary: Ping Server (with authentication)
description: |
Executes two checks against SeaTable server:
- check the validity of the Account-Token
- check the status of SeaTable Server
security:
- AccountTokenAuth: []
responses:
"200":
description: Access granted and service is available and running
content:
application/json:
schema:
$ref: "#/components/schemas/ping_response"
/dtable-server/ping/:
get:
tags:
- Ping
summary: Ping dtable Server
description: >-
Check the status of the dtable-server. Base related operations are
carried out by the dtable-server. These operations are included in the
section **Base Operations**.
responses:
"200":
description: Service is available and running
content:
application/json:
schema:
$ref: "#/components/schemas/ping_response"
/dtable-db/ping:
get:
tags:
- Ping
summary: Ping dtable-db Server
description: Check the status of the dtable-db server.
responses:
"200":
description: Service is available and running
content:
application/json:
schema:
$ref: "#/components/schemas/ping_response"