石榴AI开放平台
  1. Asset
石榴AI开放平台
  • Overview
    • Authentication
    • Limits
  • API
    • Speaker
      • Create Speaker
      • Text To Speech
      • List Speakers
      • Query Status
      • Recreate Speaker
      • Delete Speaker
      • Get Recreated Record
    • Avatar
      • Train Avatar Model
      • Train Avatar Model By Image
      • Query Training Status
      • List Avatars
      • Delete Avatar
    • Video
      • Query Status
      • Create Video By Voice
      • Create Video By AudioFile
      • Create Video By Text
    • Asset
      • Get Asset
        POST
      • Get Records
        POST
    • Upload
      • Get Upload URL
    • AuthVideo
      • Create ​Authorization Video​
  • Error Code
    • Error Code
  1. Asset

Get Records

开发中
POST
/asset/getRecords
查询账号积分变更记录

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Body 参数application/json
page
integer 
查询的页码
必需
size
integer 
每页数据量
必需
示例
{
    "page": 0,
    "size": 0
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.16ai.chat/api/v1/asset/getRecords' \
--header 'Content-Type: application/json' \
--data-raw '{
    "page": 0,
    "size": 0
}'

返回响应

🟢200成功
application/json
Body
code
integer 
状态码
必需
data
object 
响应内容
必需
list
array [object {4}] 
数据列表
必需
page
integer 
当前页码
必需
size
integer 
每页数据量
必需
pages
integer 
总页数
必需
total
integer 
全部数据量
必需
msg
string 
错误信息
必需
示例
{"code":0,"data":{"list":[{"point":-600,"createTime":1728451333000,"status":"done","description":"创建视频37秒"},{"point":-300,"createTime":1728451333000,"status":"done","description":"创建视频25秒"}],"page":1,"size":2,"pages":1,"total":2},"msg":""}
修改于 2024-10-09 05:20:44
上一页
Get Asset
下一页
Get Upload URL
Built with