mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
Fix some typos in rest-api.yml
This commit is contained in:
@@ -574,7 +574,7 @@ paths:
|
|||||||
description: |
|
description: |
|
||||||
Creates a new token owned by the user.
|
Creates a new token owned by the user.
|
||||||
Permissions can be limited by specifying a list of `scopes` in the JSON request body
|
Permissions can be limited by specifying a list of `scopes` in the JSON request body
|
||||||
(starting in JupyerHub 3.0; previously, permissions could be specified as `roles`,
|
(starting in JupyterHub 3.0; previously, permissions could be specified as `roles`,
|
||||||
which is deprecated in 3.0).
|
which is deprecated in 3.0).
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: "#/components/parameters/userName"
|
- $ref: "#/components/parameters/userName"
|
||||||
@@ -1176,7 +1176,7 @@ paths:
|
|||||||
example: abc123
|
example: abc123
|
||||||
accept_url:
|
accept_url:
|
||||||
type: string
|
type: string
|
||||||
description: The URL for acepting the code
|
description: The URL for accepting the code
|
||||||
example: /hub/accept-share?code=abc123
|
example: /hub/accept-share?code=abc123
|
||||||
security:
|
security:
|
||||||
- oauth2:
|
- oauth2:
|
||||||
@@ -1521,7 +1521,7 @@ paths:
|
|||||||
description: Shutdown successful
|
description: Shutdown successful
|
||||||
content: {}
|
content: {}
|
||||||
400:
|
400:
|
||||||
description: Unexpeced value for proxy or servers
|
description: Unexpected value for proxy or servers
|
||||||
content: {}
|
content: {}
|
||||||
security:
|
security:
|
||||||
- oauth2:
|
- oauth2:
|
||||||
@@ -1956,7 +1956,7 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
description:
|
description:
|
||||||
List of scopes this token has been assigned. New in JupyterHub
|
List of scopes this token has been assigned. New in JupyterHub
|
||||||
3. In JupyterHub 2.x, tokens were assigned 'roles' insead of scopes.
|
3. In JupyterHub 2.x, tokens were assigned 'roles' instead of scopes.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
note:
|
note:
|
||||||
|
Reference in New Issue
Block a user