forked from jmug/stoatchat
chore(doc): implement remainder of documentation
This commit is contained in:
@@ -6,6 +6,12 @@ use rauth::{
|
||||
};
|
||||
use rocket::{serde::json::Json, State};
|
||||
|
||||
/// # Push Subscribe
|
||||
///
|
||||
/// Create a new Web Push subscription.
|
||||
///
|
||||
/// If an existing subscription exists on this session, it will be removed.
|
||||
#[openapi(tag = "Web Push")]
|
||||
#[post("/subscribe", data = "<data>")]
|
||||
pub async fn req(
|
||||
auth: &State<Auth>,
|
||||
|
||||
Reference in New Issue
Block a user