moments/post-moments

Description

  • When sharing Moments, certain accounts (with unknown attributes) might experience functionality restrictions. Feel free to conduct your own tests!

Request URL

  • http://127.0.0.1:8888/api/

Request Method

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
objectDescYesstringDescription of the Moments, in XML format
bPrivateNoboolIndicates whether the Moments are private
remindUserListNolistList of wxids to remind; this field is invalid when bPrivate is true
shieldUserListNolistList of wxids to shield from viewing; this field is invalid when bPrivate is true or showUserList is set
showUserListNolistList of wxids who can view; this field is invalid when bPrivate is true

Request Example

 {
  "type": 4,
  "objectDesc": "<TimelineObject>...</TimelineObject>"
 } 

xml详见:点击查看

Return Example

  {
    "data": {
      "status": 0,
      "desc": "",
    }
  }

Return Parameter Description

Parameter NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark