获取市场所有的筛选条件
GET
https://openapi.cs2dt.com/v1/product/v1/filters
/v1/product/v1/filters
获取市场所有的筛选条件,市场商品接口使用
请求参数
Query 参数
appId
integer
游戏id
示例值:
570
app-key
string
可选
默认值:
{{app-key}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://openapi.cs2dt.com/v1/product/v1/filters?appId=570&app-key='
返回响应
🟢200成功
application/json
Body
结果
success
boolean | null
可选
data
object (ItemSearchFilterDTO)
可选
appId
integer | null
游戏id
appName
string | null
游戏名称
icon
string | null
游戏icon
iconLarge
string | null
游戏图片
list
array[object (ItemSearchFilterItem) {5}] | null
筛选条件列表
errorCode
integer | null
可选
errorMsg
string | null
可选
errorData
object (Object)
可选
示例
{
"success": false,
"data": {
"appId": 0,
"appName": "",
"icon": "",
"iconLarge": "",
"list": [
{
"key": "",
"name": "",
"alias": "",
"searchKey": "",
"list": [
{
"key": "",
"name": "",
"alias": "",
"searchKey": "",
"image": "",
"color": "",
"list": [
{
"key": "",
"name": "",
"alias": "",
"searchKey": "",
"image": "",
"color": "",
"list": []
}
]
}
]
}
]
},
"errorCode": 0,
"errorMsg": "",
"errorData": {}
}
修改于 2024-05-09 14:19:52