mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 18:44:10 +00:00
Add oauth to swagger api doc
This commit is contained in:
@@ -3,7 +3,7 @@ swagger: '2.0'
|
|||||||
info:
|
info:
|
||||||
title: JupyterHub
|
title: JupyterHub
|
||||||
description: The REST API for JupyterHub
|
description: The REST API for JupyterHub
|
||||||
version: 0.7.0
|
version: 0.8.0dev
|
||||||
license:
|
license:
|
||||||
name: BSD-3-Clause
|
name: BSD-3-Clause
|
||||||
schemes:
|
schemes:
|
||||||
@@ -215,6 +215,13 @@ paths:
|
|||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Sets a cookie granting the requesting administrator access to the user's notebook server
|
description: Sets a cookie granting the requesting administrator access to the user's notebook server
|
||||||
|
/user:
|
||||||
|
summary: Return authenticated user's model
|
||||||
|
description:
|
||||||
|
parameters:
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: The authenticated user's model is returned.
|
||||||
/groups:
|
/groups:
|
||||||
get:
|
get:
|
||||||
summary: List groups
|
summary: List groups
|
||||||
@@ -435,6 +442,10 @@ paths:
|
|||||||
description: The user identified by the cookie
|
description: The user identified by the cookie
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/User'
|
$ref: '#/definitions/User'
|
||||||
|
/oath2/authorize:
|
||||||
|
|
||||||
|
/oath2/token:
|
||||||
|
|
||||||
/shutdown:
|
/shutdown:
|
||||||
post:
|
post:
|
||||||
summary: Shutdown the Hub
|
summary: Shutdown the Hub
|
||||||
|
Reference in New Issue
Block a user