目录

Data Models

ThumbnailObject

Parameter

Mandatory/Optional

Type

Description

url

Mandatory

String

Thumbnail URL.

WebItem

Parameter

Mandatory/Optional

Type

Description

title

Mandatory

String

Web page title.

click_url

Mandatory

String

Web page URL.

snippet

Mandatory

String

Web page snippet.

site_name

Optional

string

Name of the site to which the web page belongs.

thumbnail

Optional

ThumbnailObject

Thumbnail.

ImageItem

Parameter

Mandatory/Optional

Type

Description

title

Mandatory

String

Image title.

click_url

Mandatory

String

Image URL.

thumbnail

Mandatory

ThumbnailObject

Thumbnail.

source_image

Mandatory

ImageObject

Source image.

ImageObject

Parameter

Mandatory/Optional

Type

Description

image_hostpage_url

Mandatory

String

URL of the web page where the image is located.

image_content_url

Mandatory

String

URL of the image itself.

height

Mandatory

String

Image height, in pixels.

width

Mandatory

String

Image width, in pixels.

publish_time

Optional

String

Publish time of the web page where the image is located. The value is a Unix timestamp, for example, 1602492917.

VideoItem

Parameter

Mandatory/Optional

Type

Description

title

Mandatory

String

Video title.

click_url

Mandatory

String

Video URL.

thumbnail

Optional

ThumbnailObject

Thumbnail.

provider

Mandatory

VideoProvider

Video provider.

publish_time

Mandatory

String

Publish time of the web page where the video is located. The value is a Unix timestamp, for example, 1602492917.

duration

Mandatory

Integer

Video duration, in seconds.

VideoProvider

Parameter

Mandatory/Optional

Type

Description

site_name

Mandatory

String

Name of the web page that provides the video.

logo

Optional

String

Icon of the web page that provides the video, which is encoded using Base64.

NewsItem

Parameter

Mandatory/Optional

Type

Description

title

Mandatory

String

News title.

click_url

Mandatory

String

News URL.

thumbnail

Optional

ThumbnailObject

Thumbnail.

publish_time

Mandatory

String

Publish time of the web page where the news is located. The value is a Unix timestamp, for example, 1602492917.

provider

Mandatory

NewsProvider

News provider.

NewsProvider

Parameter

Mandatory/Optional

Type

Description

site_name

Mandatory

String

Name of the web page that provides the news.

logo

Optional

String

Icon of the web page that provides the news, which is encoded using Base64.