|
@@ -8,6 +8,11 @@ from app.models.domain.algorithms import AttendeesRecommendationRequest, Attende
|
|
|
router = APIRouter()
|
|
|
|
|
|
|
|
|
+@router.get('/status')
|
|
|
+async def get_living_condition():
|
|
|
+ return {'message': 'alive'}
|
|
|
+
|
|
|
+
|
|
|
@router.post('/graph-coloring', response_model=GraphColoringResponse)
|
|
|
async def get_graph_coloring_result(graph: GraphColoringRequest):
|
|
|
is_solvable, colored = await get_graph_coloring(graph.graph)
|