avatars_list
GET
/api/avatars/请求参数
Query 参数
limit
integer
可选
Number of results to return per page.
offset
integer
可选
The initial index from which to return the results.
ordering
string
可选
Which field to use when ordering the results.
status
array[string]
可选
枚举值:
approvedcapturedclarificationcreatedreadyrejectedtraining
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
count
integer
可选
示例值:
123
next
string <uri> | null
可选
示例值:
http://api.example.org/accounts/?offset=400&limit=100
previous
string <uri> | null
可选
示例值:
http://api.example.org/accounts/?offset=200&limit=100
results
array[object (Avatar) {14}]
可选
id
integer
只读必需
cd
string <date-time>
Created datetime
name
string
必需
<= 80 字符
description
string | null
只读必需
status
enum<string>
只读必需
枚举值:
createdcapturedclarificationapprovedtrainingreadyrejected
thumbnail
string <uri>
只读必需
preview
string <uri>
只读必需
circular_preview
string <uri>
只读必需
frame_width
integer
只读必需
frame_height
integer
只读必需
best_fit_voices
array[integer]
只读必需
supported_emotions
array[string]
只读必需
supports_background_removal
boolean
只读必需
ownership
boolean
只读必需
示例
{
"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:22.123Z",
"name": "string",
"description": "string",
"status": "created",
"thumbnail": "http://example.com",
"preview": "http://example.com",
"circular_preview": "http://example.com",
"frame_width": 0,
"frame_height": 0,
"best_fit_voices": [
0
],
"supported_emotions": [
"string"
],
"supports_background_removal": true,
"ownership": true
}
]
}
最后修改时间: 10 个月前