Skip to main content
`Ctrl`+`K`

# jupyter_server.services.api package

## Submodules

Tornado handlers for api specifications.

class jupyter_server.services.api.handlers.APISpecHandler(application, request, **kwargs)

  Bases: `StaticFileHandler`, `JupyterHandler`

  A spec handler for the REST API.

  auth_resource = 'api'
  get()

    Get the API spec.

  get_content_type()

    Get the content type.

  head()
  initialize()

    Initialize the API spec handler.

class jupyter_server.services.api.handlers.APIStatusHandler(application, request, **kwargs)

  Bases: `APIHandler`

  An API status handler.

  auth_resource = 'api'
  get()

    Get the API status.

class jupyter_server.services.api.handlers.IdentityHandler(application, request, **kwargs)

  Bases: `APIHandler`

  Get or patch the current user’s identity model

  get()

    Get the identity model.

  patch()

    Update user information.

## Module contents