接口说明:根据作品id查询作品的玩法类型99接口说明:根据作品id查询作品的玩法类型
应用权限: 插件→自建应用插件使用
接口路径:/api/platform/plugindata/app/Info
...
Description: 获取作品下的插件信息
Query-parameters:
Parameter | Type | Required | Description |
---|---|---|---|
appId | string | true | 作品id |
companyId | string | false | 第三方企业id; |
如果companyId不传,则会取主企业信息。 | |||
uid | String | true | 第三方用户id |
Response-fields:
Field | Type | Description |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | array | 数据 |
└─componentId | string | 组件Id |
└─componentName | string | 组件名称 |
└─pluginName | string | 玩法名称。可选值,参考示例 |
└─deleted | int32 | 删除标志 0: 未删除 1:删除 |
Response-example:
代码块 |
---|
curl -X GET --header 'Accept: application/json' --header 'X-Token: r9i6T6VXdAV0vjiMBxODFRddRVY' 'https://integrate.rabbitpre.com/api/open/api/platform/plugindata/app/Info?appId=123123123&uid=test' |
...
{ "code": "20894", "errorCode": "20894", "msg": "wicqkn", "data": [ { "componentId": "83", "componentName": "助力", "pluginName": "Help", "deleted": 0 } ] }
玩法name(pluginName) | 玩法title |
---|---|
Award | 领奖 |
Help | 助力 |
Lottery | 抽奖 |
Task | 任务 |
Signin | 签到 |
Team | 组队 |
Vote | 投票 |
Reserve | 预约 |
Answer | 答题 |
Game | 游戏 |
Points | 积分 |
Question | 问卷 |