add endpoint for creating a node
This commit is contained in:
parent
1c1f8b5a58
commit
571c0d1196
1 changed files with 1 additions and 0 deletions
|
|
@ -22,5 +22,6 @@ $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', [NodeController::class, 'createNode']);
|
||||
|
||||
return $app;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue