diff --git a/app/api/endpoints/tiktok_app.py b/app/api/endpoints/tiktok_app.py index 5aa7902..921c7af 100644 --- a/app/api/endpoints/tiktok_app.py +++ b/app/api/endpoints/tiktok_app.py @@ -8,7 +8,11 @@ TikTokAPPCrawler = TikTokAPPCrawler() # 获取单个作品数据 -@router.get("/fetch_one_video", response_model=ResponseModel, summary="获取单个作品数据/Get single video data") +@router.get("/fetch_one_video", + response_model=ResponseModel, + summary="获取单个作品数据/Get single video data", + deprecated=True + ) async def fetch_one_video(request: Request, aweme_id: str = Query(example="7350810998023949599", description="作品id/Video id")): """ @@ -42,4 +46,5 @@ async def fetch_one_video(request: Request, router=request.url.path, params=dict(request.query_params), ) - raise HTTPException(status_code=status_code, detail=detail.dict()) \ No newline at end of file + raise HTTPException(status_code=status_code, detail=detail.dict()) + \ No newline at end of file diff --git a/config.yaml b/config.yaml index c229e38..f4d9d98 100644 --- a/config.yaml +++ b/config.yaml @@ -30,8 +30,8 @@ API: Redoc_URL: /redoc # API documentation URL | API文档URL # API Information - Version: V4.0.5 # API version | API版本 - Update_Time: 2024/07/07 # API update time | API更新时间 + Version: V4.0.6 # API version | API版本 + Update_Time: 2024/08/19 # API update time | API更新时间 Environment: Demo # API environment | API环境 # Download Configuration