- Catalog
- Article
- Page
- Tag
- Product
- Category
- Order
- Customer
- Brand
- FileManager
- Inquiry
- Shipment
- 后台TokenPOST
- 后台概览GET
- 获取当前用户GET
File List
开发中
GET
/file_manager/files
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
page
string
必需
示例值:
1
per_page
string
必需
示例值:
10
base_folder
string
必需
示例值:
/demo
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://innoshop.test/api/panel/file_manager/files?page=1&per_page=10&base_folder=/demo'
返回响应
🟢200成功
application/json
Body
images
array [object {6}]
必需
path
string
必需
name
string
必需
origin_url
string
必需
url
string
必需
mime
string
必需
selected
boolean
必需
image_total
integer
必需
image_page
integer
必需
示例
{
"images": [
{
"path": "/catalog/demo/image_plus_1-en.png",
"name": "image_plus_1-en.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_1-en.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_1-en-100x100.png",
"mime": "image/png",
"selected": false
},
{
"path": "/catalog/demo/image_plus_1.png",
"name": "image_plus_1.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_1.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_1-100x100.png",
"mime": "image/png",
"selected": false
},
{
"path": "/catalog/demo/image_plus_2-en.png",
"name": "image_plus_2-en.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_2-en.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_2-en-100x100.png",
"mime": "image/png",
"selected": false
},
{
"path": "/catalog/demo/image_plus_2.png",
"name": "image_plus_2.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_2.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_2-100x100.png",
"mime": "image/png",
"selected": false
},
{
"path": "/catalog/demo/image_plus_3-en.png",
"name": "image_plus_3-en.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_3-en.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_3-en-100x100.png",
"mime": "image/png",
"selected": false
},
{
"path": "/catalog/demo/image_plus_3.png",
"name": "image_plus_3.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_3.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_3-100x100.png",
"mime": "image/png",
"selected": false
},
{
"path": "/catalog/demo/image_plus_4-en.png",
"name": "image_plus_4-en.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_4-en.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_4-en-100x100.png",
"mime": "image/png",
"selected": false
},
{
"path": "/catalog/demo/image_plus_4.png",
"name": "image_plus_4.png",
"origin_url": "http://enterprise.test/catalog/demo/image_plus_4.png",
"url": "http://enterprise.test/cache/catalog/demo/image_plus_4-100x100.png",
"mime": "image/png",
"selected": false
}
],
"image_total": 8,
"image_page": 1
}
修改于 2025-02-19 13:32:40