接口说明:根据作品id查询作品的玩法类型

应用权限:   插件自建应用插件使用

接口路径:/api/platform/plugindata/app/Info

Type: GET

Author: Shang Pan

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 获取作品下的插件信息

Query-parameters:

ParameterTypeRequiredDescription

appId

string

true

作品id

companyIdstringfalse第三方企业id
uidStringtrue第三方用户id


Response-fields:

FieldTypeDescription

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'


Response

{
  "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问卷