Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

JupyterHub Servers API

Single-user server lifecycle.

JupyterHub Servers API is one of 11 APIs that JupyterHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Servers. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and 3 JSON Schemas.

This API exposes 4 operations across 2 paths. It is described by OpenAPI 3.1.0, at version 5.2.0.

Requests are made against a single base URL, http://localhost:8000/hub/api.

4 operations 2 paths 0 schemas 2 DELETE2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
5.2.0
Base URL
http://localhost:8000/hub/api
Authentication
API Key, OAuth 2.0
Resource Areas
1

Authentication & Security 2

JupyterHub Servers API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (token). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 9 scopes. By default, every request must be authenticated.

  • token — Token-based authentication. Use the form: Authorization: token

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 2 DELETE, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Servers 4

Single-user server lifecycle.

POST
/users/{name}/server
JupyterHub Start user server
startUserServer 1 param → 201202
DELETE
/users/{name}/server
JupyterHub Stop user server
stopUserServer 1 param → 204202
POST
/users/{name}/servers/{server_name}
JupyterHub Start named server
startNamedServer 2 params → 201202
DELETE
/users/{name}/servers/{server_name}
JupyterHub Stop named server
stopNamedServer 2 params → 204202

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jupyterhub-servers-api-openapi.yml Raw ↑

Other APIs JupyterHub publishes across the network.

JupyterHub Activity API
JupyterHub Admin API
JupyterHub Authorizations API
JupyterHub General API
JupyterHub Groups API
JupyterHub OAuth2 API
JupyterHub Proxy API
JupyterHub Services API
JupyterHub Tokens API
JupyterHub Users API