Learning/.checkout/config/routes/app_kanban.yaml
2023-05-05 20:53:21 +02:00

32 lines
1 KiB
YAML

app_kanban:
path: /kanban
controller: App\Controller\Kanban\KanbanController::render_board
app_create_card:
path: /kanban/api/card/create/{column_id}/{value}
controller: App\Controller\Kanban\CardController::create_card
requirements:
column_id: '-?\d+'
value: '.+'
app_delete_card:
path: /kanban/api/card/delete/{id}
controller: App\Controller\Kanban\CardController::delete_card
requirements:
id: '\d+'
app_move_card:
path: /kanban/api/card/move/{card_id}/{column_id}
controller: App\Controller\Kanban\CardController::move_card
requirements:
card_id: '\d+'
column_id: '-?\d+'
app_set_card_value:
path: /kanban/api/card/set/value/{card_id}/{value}
controller: App\Controller\Kanban\CardController::set_card_value
requirements:
card_id: '\d+'
value: '.+'
app_set_card_done:
path: /kanban/api/card/set/done/{card_id}/{is_done}
controller: App\Controller\Kanban\CardController::set_card_done
requirements:
card_id: '\d+'
is_done: true|false