Skip to content

Commit

Permalink
修改api.md:status
Browse files Browse the repository at this point in the history
  • Loading branch information
CuSO4Gem committed Jun 9, 2024
1 parent 4cb0d9a commit 59be7d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@

## 视频上传
- 说明:上传视频文件,并返回视频ID。
- 路径:/video_to_audio
- 路径:/video_upload
- 请求方法:POST
- 返回:
- 成功:{"status": 200, "message": \[提示信息\], "video_id": \[视频ID\]}
- 成功:code:200 {"message": \[提示信息\], "video_id": \[视频ID\]}
- 失败:code:500 { "message": \[错误信息\]}

## youtube视频获取
- 说明:根据视频ID获取下载youtube视频
- 路径:/yt_download
- 请求方法:POST
- 返回:
- 成功:{"status": 200, "message": \[提示信息\], "video_id": \[视频ID\]}
- 成功:code:200 {"message": \[提示信息\], "video_id": \[视频ID\]}
- 失败:code:500 { "message": \[错误信息\]}

## 视频下载
Expand Down

0 comments on commit 59be7d2

Please sign in to comment.