Skip to content

Commit

Permalink
Add root /api/ endpoint to REST spec
Browse files Browse the repository at this point in the history
we've had it since IPython 3.0, might as well mention it
  • Loading branch information
minrk committed Aug 11, 2023
1 parent c5dc0f6 commit 112e10d
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 112e10d

Please sign in to comment.