Skip to content

Commit

Permalink
Add root /api/ endpoint to REST spec (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk authored Aug 12, 2023
1 parent c5dc0f6 commit c083309
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions jupyter_server/services/api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,22 @@ parameters:
type: string

paths:
/api/:
get:
summary: Get the Jupyter Server version
description: |
This endpoint returns only the Jupyter Server version.
It does not require any authentication.
responses:
200:
description: Jupyter Server version information
schema:
type: object
properties:
version:
type: string
description: The Jupyter Server version number as a string.

/api/contents/{path}:
parameters:
- $ref: "#/parameters/path"
Expand Down

0 comments on commit c083309

Please sign in to comment.