- Development guideline
- Authentication
- Leads
- Contents
- Events
- Table Structure
- Behaviors-NEW
- Others
Get Content List
POST
/ma-open-api/resource/list
Request
Query Params
access_token
string
optional
Example:
{{access_token}}
Body Params multipart/form-data
appid
string
required
resourceIdStr
string
optional
page_no
string
optional
Example:
1
page_size
string
optional
Example:
20
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.beschannels.com/ma-open-api/resource/list?access_token=uURA1lnYsBr22I6UYoLZH0s9y3HU2Xsn7UHA4dIDgHPYHwZqTpWJr_GwfBokKNQZfF7rWgukJmjo_Jg9cNfN_4VO2lJpkhHOoOS9RA_MVi-x4nyJolWKNq3l8KhslWxk' \
--form 'appid=""' \
--form 'resourceIdStr=""' \
--form 'page_no="1"' \
--form 'page_size="20"'
Responses
🟢200success
application/json
Body
code
integer
required
msg
string
required
data
array [object {9}]
required
id
integer
资料id
resource_name
string
资料名称
category
array[string]
分类
putaway_at
integer
required
cover
string
封面图
content
string
正文内容
file
array[string]
required
created_at
integer
创建时间
link_url
string
资料链接
Example
{
"code": 0,
"msg": "成功",
"data": [
{
"id": 6421,
"resource_name": "11111",
"category": [
"12090"
],
"putaway_at": 0,
"cover": "https://system-scs.ma.scrmtech.com/17051/100000014/resource/1680757888/6e9186c78f4bab8e16489261f600b518.jpeg",
"content": "<p>11111</p>",
"file": [],
"created_at": 1680757894,
"link_url": "https://app-stg.ma.scrmtech.com/resources/resourceFront/resourceInfo?pf_uid=17051_100000014&id=6421&pf_type=3&source=1"
},
{
"id": 6425,
"resource_name": "最新资讯",
"category": [
"12090"
],
"putaway_at": 0,
"cover": "https://system-scs.ma.scrmtech.com/17051/100000014/resource/1680834707/6e9186c78f4bab8e16489261f600b518.jpeg",
"content": "<p>214234123</p>",
"file": [],
"created_at": 1680834712,
"link_url": "https://app-stg.ma.scrmtech.com/resources/resourceFront/resourceInfo?pf_uid=17051_100000014&id=6425&pf_type=3&source=1"
},
{
"id": 6426,
"resource_name": "最热资讯",
"category": [
"12090"
],
"putaway_at": 0,
"cover": "https://system-scs.ma.scrmtech.com/17051/100000014/resource/1680835152/6e9186c78f4bab8e16489261f600b518.jpeg",
"content": "<p>11111</p>",
"file": [],
"created_at": 1680835156,
"link_url": "https://app-stg.ma.scrmtech.com/resources/resourceFront/resourceInfo?pf_uid=17051_100000014&id=6426&pf_type=3&source=1"
}
]
}
Modified at 2023-06-08 09:04:07