Skip to content

Commit c083309

Browse files
authored
Add root /api/ endpoint to REST spec (#1312)
1 parent c5dc0f6 commit c083309

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

jupyter_server/services/api/api.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,22 @@ parameters:
6363
type: string
6464

6565
paths:
66+
/api/:
67+
get:
68+
summary: Get the Jupyter Server version
69+
description: |
70+
This endpoint returns only the Jupyter Server version.
71+
It does not require any authentication.
72+
responses:
73+
200:
74+
description: Jupyter Server version information
75+
schema:
76+
type: object
77+
properties:
78+
version:
79+
type: string
80+
description: The Jupyter Server version number as a string.
81+
6682
/api/contents/{path}:
6783
parameters:
6884
- $ref: "#/parameters/path"

0 commit comments

Comments
 (0)