Fixed incorrect min length

This commit is contained in:
Scott Idem
2024-05-15 10:39:01 -04:00
parent 8c0f308694
commit 3d13dc1829

View File

@@ -31,8 +31,8 @@ router = APIRouter()
# Updated 2024-04-25
@router.get('/event/{e_confex_event_id}/import_reg', response_model=Resp_Body_Base)
async def import_event_session_list(
e_confex_event_id: str = Path(min_length=3, max_length=22), # For AAPOR: aapor_2023 (2024-05); aapor_2023 (2023-05)
e_confex_session_id: str = Query(None, min_length=5, max_length=22),
e_confex_event_id: str = Path(min_length=5, max_length=22), # For AAPOR: aapor_2023 (2024-05); aapor_2023 (2023-05)
e_confex_session_id: str = Query(None, min_length=3, max_length=22),
event_id: str = Query(min_length=11, max_length=22), # For AAPOR: MCz-Qm-48-j1 (1513 2024-05) 9jW-Db-SF-wt (1478 2023-05); x2H2P2MYlXU (1447 2022-05)
# Account ID For AAPOR: j5EBhRDqPuw (20)