Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add root /api/ endpoint to REST spec #1312

Merged
merged 1 commit into from
Aug 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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