URL: /api/app/set/status
Type: POST
Author: Shang Pan
Content-Type: application/json; charset=utf-8
Description: 作品上下线
Body-parameters:
Parameter | Type | Required | Description |
---|---|---|---|
opfid | string | true | 开放平台ID |
nonce | string | true | 6位随机字串不能为空 |
timestamp | string | true | 签名时间戳 |
signature | string | true | 签名 |
appId | string | true | 作品id |
status | string | true | 作品状态:1-上线 201-下线 |
uid | String | true | 第三方平台的用户id |
contentSource | String | true | 内容来源: editor:编辑器制作 gzharticle:公众号图文素材导入(公众号文章) gzhimage:公众号图文素材导入 |
Request-body:
代码块 | ||
---|---|---|
| ||
{ "opfid": "71", "nonce": "bb7c68", "timestamp": "2021-08-19 14:47:59", "signature": "x5lu8r", "appId": "71", "status": "201", "contentSource" : "editor" } |
Response-fields:
Field | Type | Description |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | object | 数据 |
Response-example:
代码块 | ||
---|---|---|
| ||
{ "code": "21339", "errorCode": "21339", "msg": "dz2hbt" } |