org-unit-limits: пагинация орг юнитов опциональна
This commit is contained in:
parent
a26125b439
commit
b498588dbe
@ -16,8 +16,8 @@ router = APIRouter(prefix="/org-unit", tags=["ssp"])
|
|||||||
|
|
||||||
@router.get("/")
|
@router.get("/")
|
||||||
async def org_unit_list(
|
async def org_unit_list(
|
||||||
offset: int = 0,
|
offset: int | None = None,
|
||||||
limit: int = 100,
|
limit: int | None = None,
|
||||||
is_active: bool | None = None,
|
is_active: bool | None = None,
|
||||||
is_ssp: bool | None = None,
|
is_ssp: bool | None = None,
|
||||||
load_users_count: bool = False,
|
load_users_count: bool = False,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user