JupyterLab Themes API

Static theme files served to the browser.

OpenAPI Specification

jupyterlab-themes-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: JupyterLab Server REST Licenses Themes API
  description: REST API for JupyterLab Server, the set of REST API services that JupyterLab depends on. Provides endpoints for managing user-defined settings, workspaces, themes, translations, third-party license reports, and extension listings. JupyterLab Server runs as a Jupyter Server extension.
  version: 2.27.0
  license:
    name: BSD-3-Clause
    url: https://opensource.org/licenses/BSD-3-Clause
  contact:
    name: Jupyter Project
    url: https://jupyterlab.readthedocs.io
    email: jupyter@googlegroups.com
servers:
- url: http://localhost:8888/lab/api
  description: Local JupyterLab server
security:
- token: []
tags:
- name: Themes
  description: Static theme files served to the browser.
paths:
  /themes/{theme_file}:
    get:
      operationId: getThemeAsset
      summary: JupyterLab Get theme asset
      description: Serves a static theme file from the active JupyterLab theme.
      tags:
      - Themes
      parameters:
      - name: theme_file
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Theme asset.
components:
  securitySchemes:
    token:
      type: apiKey
      in: header
      name: Authorization
      description: 'Token-based authentication. Use the form: Authorization: token <token>'
    xsrf:
      type: apiKey
      in: header
      name: X-XSRFToken
      description: XSRF token required for browser-based requests.
externalDocs:
  description: JupyterLab Server REST API documentation
  url: https://jupyterlab-server.readthedocs.io/en/stable/api/rest.html