Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.27 KB

AllInOne-V202107311753.md

File metadata and controls

61 lines (47 loc) · 1.27 KB

Media-Quick

Version Update Time Status Author Description
v2021-07-31 17:53:06 2021-07-31 17:53:06 auto @ZuoBro Created by smart-doc

媒体接口

解析短视频链接

URL: http://127.0.0.1:7899/media/quick/v1/media/parse

Type: POST

Author: ZuoBro date: 2021/5/20 time: 16:34

Content-Type: application/json; charset=utf-8

Description: 解析短视频链接

Body-parameters:

Parameter Type Description Required Since
flag string 短视频链接(可携带描述信息) false -

Request-example:

curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://127.0.0.1:7899/media/quick/v1/media/parse --data '{
  "flag": "cw53td"
}'

Response-fields:

Field Type Description Since
user object 用户信息 -
└─name string 用户昵称 -
└─avatar string 用户头像地址 -
└─description string 用户签名、介绍 -
media object 媒体信息 -
└─mediaType string 媒体类型 -
mediaApiType string 媒体Api类型(Douyin、kuaishou等) -

Response-example:

{
  "user": {
    "name": "伟泽.徐",
    "avatar": "i10j3q",
    "description": "dhrjj7"
  },
  "media": {
    "mediaType": "8f6tnd"
  },
  "mediaApiType": "e25c2o"
}