mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-27 15:40:29 +00:00
18 lines
420 B
Python
18 lines
420 B
Python
from django.http import HttpRequest
|
|
from hatchway import api_view
|
|
|
|
from api import schemas
|
|
from api.decorators import scope_required
|
|
|
|
|
|
@scope_required("read:follows")
|
|
@api_view.get
|
|
def follow_requests(
|
|
request: HttpRequest,
|
|
max_id: str | None = None,
|
|
since_id: str | None = None,
|
|
min_id: str | None = None,
|
|
limit: int = 40,
|
|
) -> list[schemas.Account]:
|
|
# We don't implement this yet
|
|
return []
|