1. 统一搜索

1.1. 关键词搜索

Type: GET

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

Description: 根据关键词搜索影片和影人

Request-headers:

Header Type Description Required Since

Authorization

string

API 密钥

true

1.0.0

Query-parameters:

Parameter Type Description Required Since

pageNum

int32

页码,默认 1

false

1.0.0

pageSize

int32

页大小,默认&最大 20

false

1.0.0

keyword

string

搜索关键词

true

1.0.0

Response-fields:

Field Type Description Since

timestamp

int64

响应时间戳

1.0.0

code

int32

响应码

1.0.0

message

string

响应消息

1.0.0

data

array

响应数据

-

└─type

string

类型

1.1.0

└─title

string

标题

1.1.0

└─cover

string

封面 URL

1.1.0

└─startYear

int32

年份

1.1.0

└─detailUrl

string

详情 URL

1.1.0

Response-example:

{
  "timestamp": 1660538667,
  "code": 200,
  "message": "OK",
  "data": [
    {
      "type": "电影",
      "title": "肖申克的救赎",
      "cover": "https://img1.doubanio.com/view/photo/m_ratio_poster/public/p480747492.webp",
      "startYear": 1994,
      "detailUrl": "https://api.smdb.online/v1/movie/864481815040789"
    }
  ]
}