文档
测试

上传朋友圈背景图

POST
https://api.convergence.com/sns/uploadBackgroundOfSns

请求参数

参数名
类型
描述
必填
uin
Long
微信号唯一标识符
必填
picUrl
String
背景图链接地址
必填
width
String
背景图宽度
可选
height
String
背景图高度
可选

请求参数示例

``` { "uin":2126295504, "picUrl":"http://siyouyun-1253559996.cos.ap-guangzhou.myqcloud.com/msg/E126A/20200207/1863734553699796064_wxid_az12gf9ugnoh22_1581004817286_.png" } ```

异步响应参数

参数名
类型
描述
必填
code
Long
状态码
必填
message
String
消息内容
必填
traceId
String
链路跟踪ID
必填
createTime
Integer
朋友圈发布时间
必填
description
String
朋友圈内容详情
必填
id
Long
朋友圈ID
必填
nickName
String
微信昵称
必填
resultType
String
返回结果类型
必填
uin
Long
微信号唯一标识
必填
userName
String
微信号
必填
deviceId
String
设备ID
必填

异步响应参数示例

``` { "code":0, "createTime":1586680806, "description":"<TimelineObject><id>13310043309915836569</id><username>wxid_evwonz075ayh21</username><createTime>1586680806</createTime><contentDesc></contentDesc><contentDescShowType>0</contentDescShowType><contentDescScene>0</contentDescScene><private>0</private><sightFolded>0</sightFolded><showFlag>0</showFlag><appInfo><id></id><version></version><appName></appName><installUrl></installUrl><fromUrl></fromUrl><isForceUpdate>0</isForceUpdate></appInfo><sourceUserName></sourceUserName><sourceNickName></sourceNickName><statisticsData></statisticsData><statExtStr></statExtStr><ContentObject><contentStyle>7</contentStyle><title></title><description></description><mediaList><media><id>13310043310174441630</id><type>2</type><title></title><description></description><private>0</private><userData></userData><subType>0</subType><videoSize width="0" height="0"></videoSize><url type="1" md5="" videomd5="">http://siyouyun-1253559996.cos.ap-guangzhou.myqcloud.com/msg/star01.png?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDBi7d3I4UK7iDXkAhQyQsDMNGxY2KmlCY%26q-sign-time%3D1582453847%3B1668767447%26q-key-time%3D1582453847%3B1668767447%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D1d89b68c3c7ab39e9a2ff9f4f92b443850d90604</url><thumb type="1">http://siyouyun-1253559996.cos.ap-guangzhou.myqcloud.com/msg/150</thumb><size width="" height="" totalSize="0"></size></media></mediaList><contentUrl></contentUrl></ContentObject><actionInfo><appMsg><messageAction></messageAction></appMsg></actionInfo><location poiClassifyId="" poiName="" poiAddress="" poiClassifyType="0" city=""></location><publicUserName></publicUserName><streamvideo><streamvideourl></streamvideourl><streamvideothumburl></streamvideothumburl><streamvideoweburl></streamvideoweburl></streamvideo></TimelineObject>", "deviceId":"3234d500ade77629398db80c45bbb5d1", "id":-5136700763793715050, "message":"", "nickName":"测试1号", "resultType":"SNS_uploadBG", "traceId":"e2b9fef50ce9419eaef7d712cb8b9018", "uin":2126295504, "userName":"wxid_evwonz075ayh11" } ```