guest password protect
This commit is contained in:
1 parent
8d58549d11
commit
6fc408ddf7
18 files changed
+527
-43
No files matched your search
@@ -158,6 +158,7 @@ pub fn router(
|
||||
post(api::set_pad_editor_settings),
|
||||
)
|
||||
.route("/api/pads/{slug}/publish", post(api::publish_pad_page))
|
||||
.route("/api/pads/{slug}/password", post(api::set_pad_password))
|
||||
.route("/api/pads/{slug}/restore", post(api::pad_restore))
|
||||
.route(
|
||||
"/api/pads/{slug}/files",
|
||||
@@ -169,6 +170,10 @@ pub fn router(
|
||||
)
|
||||
.route("/api/workspaces", post(api::create_workspace))
|
||||
.route("/api/workspaces/{workspace_slug}", get(api::workspace_info))
|
||||
.route(
|
||||
"/api/workspaces/{workspace_slug}/password",
|
||||
post(api::set_workspace_password),
|
||||
)
|
||||
.route(
|
||||
"/api/workspaces/{workspace_slug}/open",
|
||||
post(api::open_workspace),
|
||||
|
||||
Reference in new issue
Block a user