Function headless_lms_server::controllers::main_frontend::playground_examples::insert_playground_example
source · async fn insert_playground_example(
pool: Data<PgPool>,
payload: Json<PlaygroundExampleData>,
user: AuthUser
) -> ControllerResult<Json<PlaygroundExample>>
Expand description
POST /api/v0/main-frontend/playground_examples
- Saves a playground example.