updated data api docs

This commit is contained in:
dswbx
2025-02-26 18:03:50 +01:00
parent b6d28bbf42
commit 4d75cfe0ea
6 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
--- ---
title: 'Create Entity' title: 'Create Entity'
openapi: 'POST /api/data/{entity}' openapi: 'POST /api/data/entity/{entity}'
--- ---

View File

@@ -1,4 +1,4 @@
--- ---
title: 'Delete Entity' title: 'Delete Entity'
openapi: 'DELETE /api/data/{entity}/{id}' openapi: 'DELETE /api/data/entity/{entity}/{id}'
--- ---

View File

@@ -1,4 +1,4 @@
--- ---
title: 'Get Entity' title: 'Get Entity'
openapi: 'GET /api/data/{entity}/{id}' openapi: 'GET /api/data/entity/{entity}/{id}'
--- ---

View File

@@ -1,4 +1,4 @@
--- ---
title: 'List Entity' title: 'List Entity'
openapi: 'GET /api/data/{entity}' openapi: 'GET /api/data/entity/{entity}'
--- ---

View File

@@ -1,4 +1,4 @@
--- ---
title: 'Update Entity' title: 'Update Entity'
openapi: 'PATCH /api/data/{entity}/{id}' openapi: 'PATCH /api/data/entity/{entity}/{id}'
--- ---

View File

@@ -13,7 +13,7 @@ run on your toaster (probably).
</Note> </Note>
## Preview ## Preview
**bknd** is so lightweight that it fully runs inside StackBlitz. Take a look at the preview below: Here is a preview of **bknd** in StackBlitz:
<Stackblitz {...examples.adminRich} /> <Stackblitz {...examples.adminRich} />
<Accordion title="What's going on?" icon="lightbulb"> <Accordion title="What's going on?" icon="lightbulb">