URL: http://127.0.0.1:36190/api/app/set/status
Type: POST
Author: Shang Pan,flame
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-下线 |
Request-body:
{ "opfid": "71", "nonce": "bb7c68", "timestamp": "2021-08-19 14:47:59", "signature": "x5lu8r", "appId": "71", "status": "iyo0ln" }
Response-fields:
Field | Type | Description |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | object | 数据 |
Response-example:
{ "code": "21339", "errorCode": "21339", "msg": "dz2hbt" }