Amit Kumar
d3add440ca
Fix typo in the rest-api.yml
2024-03-11 16:19:34 +00:00
Simon Li
af396ec8d6
Merge pull request #4700 from minrk/redocly
...
Use redoc for REST API
2024-03-06 16:05:16 +00:00
Min RK
eab6065a26
update rest api spec for sort
...
don't use enum, which is a poor fit for `-` prefix,
instead give some examples
2024-03-06 13:31:48 +01:00
Min RK
8303633527
Implement sort order in GET /users
...
support sorting by id (current, default), name, last_activity
Names and definitions match GitHub REST API
2024-03-04 12:31:14 +01:00
Min RK
b7dffc7afc
add rest-api-{operation}
xref targets, so we can link to our own REST API
2024-02-22 11:03:01 +01:00
Min RK
3286afd848
remove unused x-codegen-body-name
2024-02-07 16:01:21 +01:00
Min RK
e1f144ad79
update rest-api scopes
...
now that they are visible, some weren't quite right
2024-02-07 16:00:21 +01:00
Min RK
5cddce343d
make sure types are declared in spec linter
2024-02-07 15:32:53 +01:00
Min RK
9a75622ee5
stricter api lint
...
error instead of warn, otherwise CI will pass
2024-02-07 14:20:06 +01:00
Min RK
ffa07afd80
fix nullable items found by linter
2024-02-07 13:12:03 +01:00
Min RK
c520102008
satisfly redocly lint with operationIds
...
operationIds don't need to be meaningful, but they are used in links, so should be stable
2024-02-07 12:54:51 +01:00
Min RK
ded7610b88
update openapi to 3.1.0
...
allows uncommenting our DELETE body spec
2024-02-07 12:39:20 +01:00
Min RK
829c65d76e
add link back to rest of docs from rest-api
...
because rest-api has no nav elements
2024-02-07 12:32:13 +01:00
Min RK
41fff711e7
user-initiated sharing ( #4594 )
...
Squashed merge of https://github.com/jupyterhub/jupyterhub/pull/4594
Co-authored-by: Samuel Gaist <samuel.gaist@idiap.ch >
2024-02-07 08:34:39 +01:00
Min RK
47e8bbaf5e
regen rest-api
2024-01-23 10:48:49 +01:00
Min RK
d3d6d0a997
document 0 for no expiration
...
Co-authored-by: Simon Li <orpheus+devel@gmail.com >
2024-01-23 10:47:26 +01:00
Min RK
8c3596d923
Improve validation, docs for token.expires_in
...
- accept 0 meaning no expiration, since folks have tried to use it that way
- clear error message for invalid (e.g. negative) values
- specify example in rest api doc so it doesn't default to invalid `0`
- better error if orm token fails to be retrieved
2024-01-19 10:23:49 +01:00
Min RK
d2bff90f17
support specifying token permissions in UI
...
- add scopes field to token form
- add permissions column to token tables
- expand docs on specifying token scopes, including api example
2023-11-13 12:27:08 +01:00
linyucheng
d5bc3856aa
doc: Add the include_stopped_server field to the /users/name interface
2023-11-08 21:47:35 +08:00
Duc Trung Le
7dd4e4516f
Add scope
2023-07-04 11:33:21 +02:00
Min RK
a3ccee3871
Bump to 5.0.0.dev
2023-06-28 09:11:14 +02:00
Min RK
20f75c0018
Bump to 4.1.0.dev
2023-06-12 15:29:13 +02:00
Min RK
689dc5ba24
Bump to 4.0.1
2023-06-08 10:38:00 +02:00
tfmark
4cdf0a65cd
'servers' should be a dict of dicts, not a list of dicts in rest-api.yml
2023-05-24 16:09:26 +01:00
Min RK
10e7ab96e5
Bump to 4.0.0
2023-04-20 12:18:26 +02:00
Min RK
7793176b65
Bump to 4.0.0b2
2023-03-15 11:58:54 +01:00
Min RK
a348ba6536
Bump to 4.0.0b1
2023-03-01 11:09:39 +01:00
Min RK
3c0467ebcf
add group properties to rest api spec
2023-01-11 12:10:40 +01:00
Min RK
e9c0fc6eb7
Bump to 3.2.0.dev
2022-12-05 14:45:03 +01:00
Min RK
eca9c00872
Bump to 3.1.0
2022-12-05 14:44:43 +01:00
Min RK
02dead8ab1
Bump to 3.1.0.dev
2022-09-09 08:37:18 +02:00
Min RK
24506888ea
Bump to 3.0.0
2022-09-09 08:32:58 +02:00
Min RK
562a24b651
Bump to 3.0.0b1
2022-08-02 15:10:28 +02:00
Simon Li
9318eb3fb2
Merge pull request #3994 from minrk/3.0-changelog
...
3.0 changelog
2022-08-02 14:05:38 +01:00
Min RK
8aac18c96d
More documentation for 3.0 role/scope changes
...
a few more outdated `versionchanged` notes
2022-08-02 14:39:03 +02:00
Erik Sundell
6a6b8567c0
Merge pull request #3909 from minrk/include_stopped_servers
...
include stopped servers in user model
2022-08-02 14:31:14 +02:00
Min RK
dfc2d4d4f1
Merge remote-tracking branch 'origin/main' into oauth_config
2022-08-02 13:53:51 +02:00
Min RK
6afa0d6311
include stopped servers in user model
...
opt-in, behind ?include_stopped_servers
Adds `stopped` field to server model to more easily select stopped servers
2022-08-01 15:47:36 +02:00
Min RK
e4e4bf5ff4
next release is 3.0, not 2.4
2022-07-29 15:35:08 +02:00
Min RK
8a44748324
Bump to 2.4.0.dev
2022-07-09 16:44:24 -07:00
Min RK
62b38934e5
store scopes on oauth clients, too
...
rather than roles, matching tokens
because oauth clients are mostly involved with issuing tokens,
they don't have roles themselves (their owners do).
This deprecates the `oauth_roles` config on Spawners and Services, in favor of `oauth_allowed_scopes`.
The ambiguously named `oauth_scopes` is renamed to `oauth_access_scopes`.
2022-06-08 12:26:48 +02:00
Min RK
debac715bf
add 'admin-ui' scope for access to the admin ui
2022-04-29 11:54:02 +02:00
Min RK
3cfb14b9e5
rerender rest-api
2022-03-24 15:16:21 +01:00
Min RK
7e22614a4e
[squash me] token progress
...
tokens have scopes
instead of roles, which allow tokens to change permissions over time
This is mostly a low-level change,
with little outward-facing effects.
- on upgrade, evaluate all token role assignments to their current scopes,
and store those scopes on the tokens
- assigning roles to tokens still works, but scopes are evaluated and validated immediately,
rather than lazily stored as roles
- no longer need to check for role permission changes on startup, because token permissions aren't affected
- move a few scope utilities from roles to scopes
- oauth allows specifying scopes, not just roles.
But these are still at the level specified in roles,
not fully-resolved scopes.
- more granular APIs for working with scopes and roles
Still to do later:
- expose scopes config for Spawner/service
- compute 'full' intersection of requested scopes, rather than on the 'raw' scope list in roles
2022-03-24 15:05:50 +01:00
Erik Sundell
8d056170d7
Bump to 2.3.0.dev
2022-03-14 12:32:56 +01:00
Erik Sundell
3590d16e30
Bump to 2.2.2
2022-03-14 12:32:25 +01:00
Min RK
6ea4f2af0d
Bump to 2.3.0.dev
2022-03-11 17:00:28 +01:00
Min RK
3d3ad2929c
Bump to 2.2.1
2022-03-11 16:59:52 +01:00
Min RK
c23cddeb51
Bump to 2.2.0
2022-03-07 14:35:46 +01:00
Min RK
4c54c6dcc8
Bump to 2.2.0.dev
2022-01-25 14:36:24 +01:00