files_list
开发环境
开发环境
GET
/api/files/
files
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/api/files/' \
--header 'Authorization;'
响应示例响应示例
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": 0,
"cd": "2019-08-24T14:15:22Z",
"name": "string",
"status": "created",
"tag": "general",
"type": "image",
"mime_type": "string",
"size": 0,
"duration": 0,
"width": 0,
"height": 0,
"file": "http://example.com",
"compressed_file": "http://example.com",
"mock_video_file": "http://example.com",
"preview": "http://example.com",
"thumbnail": "http://example.com",
"generated_script": "string"
}
]
}
请求参数
Query 参数
id
array[integer]
可选
limit
integer
可选
offset
integer
可选
ordering
string
可选
tag
array[string]
可选
枚举值:
assetbackgroundgeneralpresentation_pagescenescene_previewspeech
type
array[string]
可选
枚举值:
audioimagepdfpptxvideo
Header 参数
Authorization
string
必需
默认值:
Token <api-key>
返回响应
修改于 2024-03-28 09:50:16