新增管理员接口 GET /profiles/{user_id}/stats,返回用户全部/公开上传数和收藏数
This commit is contained in:
1 parent
9c7ff9c489
commit
53548d2788
3 files changed
+115
-3
No files matched your search
@@ -252,3 +252,13 @@ class AdminCloudVisibilityIn(BatchIdsIn):
|
||||
|
||||
class BatchUpdateOut(BaseModel):
|
||||
updated: int
|
||||
|
||||
|
||||
class ProfileStatsOut(BaseModel):
|
||||
user_id: uuid.UUID
|
||||
username: str
|
||||
email: str
|
||||
created_at: datetime
|
||||
cloud_count: int
|
||||
public_cloud_count: int
|
||||
collection_count: int
|
||||
Reference in new issue
Block a user