跳转到主要内容
GET
获取最新消息(通道)

授权

Authorization
string
header
必填

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

请求头

X-Device-Id
string

多设备支持的设备标识符。 当多个设备被注册时需要. 如果只有一个设备被注册,它将被用作默认。 也可以以 device_id 查询参数提供。

示例:

"my-device-id"

查询参数

newsletter_id
string
必填
count
integer
默认值:50

要返回的消息数量 (默认50,最大100)

必填范围: 1 <= x <= 100
before
integer

获取超过此消息服务器ID的消息,用于分页

必填范围: x >= 0

响应

好的

code
string
示例:

"SUCCESS"

message
string
示例:

"Success get newsletter messages"

results
object