routes

REST API 웹 서비스 엔드포인트 라우팅 설정입니다.

routes.flask

Flask 엔드포인트 라우팅 모듈입니다.

add_batch()

POST /batches 요청을 처리하여 새로운 배치를 저장소에 추가합니다.

Return type

tuple[Any, int]

delete_batches()

DELETE /allocate 엔트포인트 요청을 처리합니다.

주어진 레퍼런스 문자열 리스트를 이용해 배치들을 삭제합니다.

Return type

tuple[Any, int]

post_allocate_batch()

POST /allocate 엔트포인트 요청을 처리합니다.

Return type

tuple[Any, int]