import { api } from "https://deno.land/x/netzo@0.3.91/core/plugins/api/mod.ts";
A fresh plugin that registers middleware and handlers to
to mount RESTful API routes on the /api
route path.
A fresh plugin that creates handlers for the following routes:
GET /api?$prefix=<PREFIX>
find all records matching queryGET /api?$key=<KEY>
get an entry by keyPOST /api?$prefix=<PREFIX>
create a new entry (auto-generates id)PUT /api?$key=<KEY>
update an entry by keyPATCH /api?$key=<KEY>
patch an entry by keyDELETE /api?$key=<KEY>
remove an entry by key