add post route for bulk creation of nodes
This commit is contained in:
parent
53cb002d0d
commit
d9c9b4439e
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ $app->get('/api/texts/{textId}', [TextController::class, 'getText']);
|
|||
$app->post('/api/texts', [TextController::class, 'createText']);
|
||||
|
||||
$app->get('/api/nodes/{textId}', [NodeController::class, 'getNodesOfText']);
|
||||
$app->post('/api/nodes/bulk', [NodeController::class, 'bulkCreateNodes']);
|
||||
$app->post('/api/nodes', [NodeController::class, 'createNode']);
|
||||
|
||||
return $app;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue